Added gradle wrapper task

This commit is contained in:
nathan 2018-09-25 20:04:53 +02:00
parent 1e841d1d4a
commit 19ddfe2d9a

View File

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