From 97f52bfd820f3bea5ddf68313eeb7104933cfff5 Mon Sep 17 00:00:00 2001 From: Tal Moran Date: Wed, 9 Nov 2016 15:21:16 +0200 Subject: [PATCH 1/2] Fixed fatmain bug in build.gradle-template --- build.gradle-template | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/build.gradle-template b/build.gradle-template index 638c953..f80c9f3 100644 --- a/build.gradle-template +++ b/build.gradle-template @@ -131,17 +131,19 @@ if (project.hasProperty('mainClassName') && (mainClassName != null)) { destinationDir = buildDir - def fatMain = hasProperty('fatmain') ? fatmain : mainClassName + def fatMain + + if (this.hasProperty('fatmain')) { + fatMain = fatmain + appendix = "fat-${fatMain}" + } else { + fatMain = mainClassName + appendix = "fat" + } applicationClass fatMain - def testJar = hasProperty('test') - - if (hasProperty('fatmain')) { - appendix = "fat-${fatMain}" - } else { - appendix = "fat" - } + def testJar = this.hasProperty('test') if (testJar) { from sourceSets.test.output From 9db8efd75b3b048e4b414e55546ee0c35b5e87ce Mon Sep 17 00:00:00 2001 From: Tal Moran Date: Mon, 28 Nov 2016 13:51:24 +0200 Subject: [PATCH 2/2] Updated to gradle 3.2.1 --- gradle/wrapper/gradle-wrapper.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 7047800..1527da9 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,5 +3,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-3.1-all.zip -distributionSha256Sum=43be380834a13e28e9504c21f67fe1a8895ab54f314a6596601896dca7213482 +distributionUrl=https\://services.gradle.org/distributions/gradle-3.2.1-all.zip +distributionSha256Sum=0209696f1723f607c475109cf3ed8b51c8a91bb0cda05af0d4bd980bdefe75cd