diff --git a/build.gradle b/build.gradle index ca9fafb..ab5f6f7 100644 --- a/build.gradle +++ b/build.gradle @@ -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) +}