Skip to content

Commit

Permalink
Configure dist
Browse files Browse the repository at this point in the history
  • Loading branch information
neworld committed Nov 18, 2017
1 parent dc0a4ba commit d94eb45
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand All @@ -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"
}

0 comments on commit d94eb45

Please sign in to comment.