aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2020-11-19 20:41:37 +0530
committerGitHub <noreply@github.com>2020-11-19 20:41:37 +0530
commit8c6809584d4ec53bbc57d7c81ea1fdb2fc5a469d (patch)
treea910e1a141244be4459de35055d6b5b561f1b09d
parentd3c1a73050cad74460a7fedddb114d196e5703aa (diff)
Update Gradle and Kotlin (#1212)
-rw-r--r--buildSrc/build.gradle.kts1
-rw-r--r--buildSrc/buildDependencies.gradle4
-rw-r--r--buildSrc/src/main/java/BaseProjectConfig.kt4
-rw-r--r--buildSrc/src/main/java/Dependencies.kt2
-rw-r--r--gradle/wrapper/gradle-wrapper.properties4
5 files changed, 8 insertions, 7 deletions
diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts
index 2c721629..47f8aecf 100644
--- a/buildSrc/build.gradle.kts
+++ b/buildSrc/build.gradle.kts
@@ -8,6 +8,7 @@ plugins {
repositories {
google()
gradlePluginPortal()
+ jcenter()
}
kotlinDslPluginOptions {
diff --git a/buildSrc/buildDependencies.gradle b/buildSrc/buildDependencies.gradle
index d9b2bbb7..e306a574 100644
--- a/buildSrc/buildDependencies.gradle
+++ b/buildSrc/buildDependencies.gradle
@@ -1,7 +1,7 @@
rootProject.ext.versions = [
agp : '4.1.0',
- kotlin : '1.4.10',
- binary_compatibility_validator : '0.2.3',
+ kotlin : '1.4.20',
+ binary_compatibility_validator : '0.2.4',
]
rootProject.ext.build = [
diff --git a/buildSrc/src/main/java/BaseProjectConfig.kt b/buildSrc/src/main/java/BaseProjectConfig.kt
index 2a7b81d9..41e3ac07 100644
--- a/buildSrc/src/main/java/BaseProjectConfig.kt
+++ b/buildSrc/src/main/java/BaseProjectConfig.kt
@@ -25,9 +25,9 @@ internal fun Project.configureForRootProject() {
delete(rootProject.buildDir)
}
tasks.withType<Wrapper> {
- gradleVersion = "6.7"
+ gradleVersion = "6.7.1"
distributionType = Wrapper.DistributionType.ALL
- distributionSha256Sum = "0080de8491f0918e4f529a6db6820fa0b9e818ee2386117f4394f95feb1d5583"
+ distributionSha256Sum = "22449f5231796abd892c98b2a07c9ceebe4688d192cd2d6763f8e3bf8acbedeb"
}
configureBinaryCompatibilityValidator()
}
diff --git a/buildSrc/src/main/java/Dependencies.kt b/buildSrc/src/main/java/Dependencies.kt
index 2ca0bcba..962299c6 100644
--- a/buildSrc/src/main/java/Dependencies.kt
+++ b/buildSrc/src/main/java/Dependencies.kt
@@ -3,7 +3,7 @@
* SPDX-License-Identifier: GPL-3.0-only
*/
-private const val KOTLIN_VERSION = "1.4.10"
+private const val KOTLIN_VERSION = "1.4.20"
object Dependencies {
object Kotlin {
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 99d667cc..cdc95ef6 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionSha256Sum=0080de8491f0918e4f529a6db6820fa0b9e818ee2386117f4394f95feb1d5583
-distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
+distributionSha256Sum=22449f5231796abd892c98b2a07c9ceebe4688d192cd2d6763f8e3bf8acbedeb
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists