Added gradle wrapper task and updated gradle

This commit is contained in:
nathan 2018-09-25 19:54:55 +02:00
parent bf60f169e1
commit 176124bf7e
3 changed files with 11 additions and 1 deletions

View File

@ -309,3 +309,13 @@ tasks.withType(PublishToMavenLocal) {
publication == publishing.publications.maven
}
}
/////////////////////////////
//// Gradle Wrapper Configuration.
/// Run this task, then refresh the gradle project
/////////////////////////////
task updateWrapper(type: Wrapper) {
gradleVersion = '4.10.2'
distributionUrl = distributionUrl.replace("bin", "all")
setDistributionType(Wrapper.DistributionType.ALL)
}

Binary file not shown.

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-all.zip