Added gradle wrapper task

This commit is contained in:
nathan 2018-09-25 19:21:15 +02:00
parent e01812a14a
commit dd00ac679a
1 changed files with 9 additions and 0 deletions

View File

@ -71,3 +71,12 @@ tasks.withType(JavaCompile) {
}
/////////////////////////////
//// 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)
}