Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Commit 1ef74e1

Browse files
committed
Update gradle plugin to 4.2.x to be compatible with java 11
1 parent b950d2b commit 1ef74e1

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

Unsplash/app/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717
apply plugin: 'com.android.application'
1818

1919
android {
20-
compileSdkVersion 29
21-
buildToolsVersion "28.0.3"
20+
compileSdkVersion 30
21+
buildToolsVersion "30.0.2"
2222

23-
dataBinding {
24-
enabled = true
23+
buildFeatures {
24+
dataBinding = true
2525
}
2626

2727
defaultConfig {
2828
applicationId "com.example.android.unsplash"
2929
minSdkVersion 21
30-
targetSdkVersion 29
30+
targetSdkVersion 30
3131
versionCode 1
3232
versionName "1.0"
3333
}

Unsplash/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
buildscript {
2020
repositories {
2121
google()
22-
jcenter()
22+
mavenCentral()
2323
}
2424
dependencies {
25-
classpath 'com.android.tools.build:gradle:3.5.0'
25+
classpath 'com.android.tools.build:gradle:4.2.1'
2626

2727
// NOTE: Do not place your application dependencies here; they belong
2828
// in the individual module build.gradle files
@@ -32,6 +32,6 @@ buildscript {
3232
allprojects {
3333
repositories {
3434
google()
35-
jcenter()
35+
mavenCentral()
3636
}
3737
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Tue Aug 27 12:07:02 BST 2019
1+
#Wed Jun 02 13:28:22 PDT 2021
22
distributionBase=GRADLE_USER_HOME
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
34
distributionPath=wrapper/dists
4-
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
6+
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)