From dc82637a5e4639c777a877b2b73a1e1d17c0f0fa Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 25 Sep 2018 19:58:45 +0200 Subject: [PATCH] Added gradle wrapper task --- build.gradle | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/build.gradle b/build.gradle index 260cad4..297659e 100644 --- a/build.gradle +++ b/build.gradle @@ -294,3 +294,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) +}