Skip to content

Commit 437afcd

Browse files
committed
Update gradle plugin version to 4.2.1 to be compatible with Java 11.
1 parent 8df03fa commit 437afcd

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

DynamicCodeLoadingKotlin/build.gradle

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22

33
buildscript {
4-
ext.kotlin_version = '1.3.30'
4+
ext.kotlin_version = '1.4.32'
55
repositories {
66
maven {
77
url "http://storage.googleapis.com/r8-releases/raw/master"
88
}
99
google()
10-
jcenter()
10+
mavenCentral()
1111

1212
}
1313
dependencies {
14-
classpath 'com.android.tools:r8:878ec25559ca91497517345ec3a6c16102b7025c' // Must be before the Gradle Plugin for Android.
15-
classpath 'com.android.tools.build:gradle:3.4.0'
14+
classpath 'com.android.tools:r8:2.2.64' // Must be before the Gradle Plugin for Android.
15+
classpath 'com.android.tools.build:gradle:4.2.1'
1616
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1717
// NOTE: Do not place your application dependencies here; they belong
1818
// in the individual module build.gradle files
@@ -22,8 +22,7 @@ buildscript {
2222
allprojects {
2323
repositories {
2424
google()
25-
jcenter()
26-
25+
mavenCentral()
2726
}
2827
}
2928

DynamicCodeLoadingKotlin/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4-rc-1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip

0 commit comments

Comments
 (0)