From d94eb4505a8518202f533a29fe25e30f4560b9e2 Mon Sep 17 00:00:00 2001 From: Andrius Semionovas Date: Sat, 18 Nov 2017 21:45:04 +0200 Subject: [PATCH] Configure dist --- app/build.gradle | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index cf52181..98c6725 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -27,10 +27,18 @@ dependencies { } jfx { - mainClass = 'lt.neworld.climbtimer.Main' + mainClass = 'lt.neworld.climbtimer.MainKt' jfxMainAppJarName = "ClimbTimer.jar" additionalAppResources = "src/assets" copyAdditionalAppResourcesToJar = true + needShortcut = true + needMenu = true + nativeReleaseVersion = "0.4-alpha" + appName = "ClimbTimer" + identifier = "ClimbTimer" + bundleArguments = [ + runtime: null + ] vendor = 'neworld' } @@ -41,3 +49,7 @@ task jfxZip(type: Zip, dependsOn: 'jfxJar') { archiveName 'ClimbTimer.zip' destinationDir(file('build/jfx/zip/')) } + +task dist(dependsOn: ['jfxNative', 'jfxZip']) { + group = "Publish" +}