From 19ddfe2d9ac7ca8ad04738a121a5102b643816bf Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 25 Sep 2018 20:04:53 +0200 Subject: [PATCH] Added gradle wrapper task --- build.gradle | 10 ++++++++++ 1 file changed, 10 insertions(+) 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) +}