Added gradle wrapper task

This commit is contained in:
nathan 2018-09-25 19:58:45 +02:00
parent 65a6a65e65
commit dc82637a5e

View File

@ -294,3 +294,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)
}