Update Gradle and Kotlin (#1212)

This commit is contained in:
Harsh Shandilya
2020-11-19 20:41:37 +05:30
committed by GitHub
parent d3c1a73050
commit 8c6809584d
5 changed files with 8 additions and 7 deletions

View File

@@ -8,6 +8,7 @@ plugins {
repositories { repositories {
google() google()
gradlePluginPortal() gradlePluginPortal()
jcenter()
} }
kotlinDslPluginOptions { kotlinDslPluginOptions {

View File

@@ -1,7 +1,7 @@
rootProject.ext.versions = [ rootProject.ext.versions = [
agp : '4.1.0', agp : '4.1.0',
kotlin : '1.4.10', kotlin : '1.4.20',
binary_compatibility_validator : '0.2.3', binary_compatibility_validator : '0.2.4',
] ]
rootProject.ext.build = [ rootProject.ext.build = [

View File

@@ -25,9 +25,9 @@ internal fun Project.configureForRootProject() {
delete(rootProject.buildDir) delete(rootProject.buildDir)
} }
tasks.withType<Wrapper> { tasks.withType<Wrapper> {
gradleVersion = "6.7" gradleVersion = "6.7.1"
distributionType = Wrapper.DistributionType.ALL distributionType = Wrapper.DistributionType.ALL
distributionSha256Sum = "0080de8491f0918e4f529a6db6820fa0b9e818ee2386117f4394f95feb1d5583" distributionSha256Sum = "22449f5231796abd892c98b2a07c9ceebe4688d192cd2d6763f8e3bf8acbedeb"
} }
configureBinaryCompatibilityValidator() configureBinaryCompatibilityValidator()
} }

View File

@@ -3,7 +3,7 @@
* SPDX-License-Identifier: GPL-3.0-only * 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 Dependencies {
object Kotlin { object Kotlin {

View File

@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionSha256Sum=0080de8491f0918e4f529a6db6820fa0b9e818ee2386117f4394f95feb1d5583 distributionSha256Sum=22449f5231796abd892c98b2a07c9ceebe4688d192cd2d6763f8e3bf8acbedeb
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists