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