Added gradle wrapper task

This commit is contained in:
nathan 2018-09-25 20:03:30 +02:00
parent f8f99aeafa
commit 32d6ec19cc
1 changed files with 10 additions and 0 deletions

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)
}