From 54d65cca9cddb8b4fdf9ccfc4156fb0b99eeb064 Mon Sep 17 00:00:00 2001 From: Yahor Berdnikau Date: Mon, 14 Oct 2019 21:06:28 +0200 Subject: [PATCH] Update Gradle to 5.6.2 version. Signed-off-by: Yahor Berdnikau --- build.gradle | 10 +++++++++- gradle/wrapper/gradle-wrapper.properties | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 05d83a9eda..eefc0e5c64 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ plugins { ext.versions = [ 'kotlin': '1.3.50', - 'aether': '1.1.0' + 'gradle': '5.6.2' ] ext.deps = [ @@ -56,3 +56,11 @@ allprojects { } } } + +/** + * Configures "wrapper" task to use specific Gradle version and distribution type. + */ +tasks.withType(Wrapper.class).configureEach { + gradleVersion = versions.gradle + distributionType = Wrapper.DistributionType.BIN +} diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index ee69dd68d1..7c4388a921 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists