From 8c6809584d4ec53bbc57d7c81ea1fdb2fc5a469d Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Thu, 19 Nov 2020 20:41:37 +0530 Subject: Update Gradle and Kotlin (#1212) --- buildSrc/build.gradle.kts | 1 + buildSrc/buildDependencies.gradle | 4 ++-- buildSrc/src/main/java/BaseProjectConfig.kt | 4 ++-- buildSrc/src/main/java/Dependencies.kt | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) (limited to 'buildSrc') 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 { - 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 { -- cgit v1.2.3