diff --git a/build.gradle b/build.gradle index 59a5e135..f83fb22f 100644 --- a/build.gradle +++ b/build.gradle @@ -493,3 +493,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) +} \ No newline at end of file