Permalink
Browse files

Update gradle wrapper, jlink plugin and customize image name

  • Loading branch information...
jose.pereda
jose.pereda committed Dec 16, 2018
1 parent 2eba13c commit 26b615eb7cb30a0a65e43172e5f200831b35114b
Showing with 4 additions and 2 deletions.
  1. +3 −1 build.gradle
  2. +1 −1 gradle/wrapper/gradle-wrapper.properties
@@ -1,7 +1,7 @@
plugins {
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.5'
id 'org.beryx.jlink' version '2.1.8-gradle4'
id 'org.beryx.jlink' version '2.2.1'
}

mainClassName = "org.scenicview.scenicview/org.scenicview.ScenicView"
@@ -51,6 +51,8 @@ artifacts {
ext.platform = osdetector.os == 'osx' ? 'mac' : osdetector.os == 'windows' ? 'win' : osdetector.os

jlink {
imageDir.set(project.layout.buildDirectory.dir('scenicview'))
imageZip.set(project.layout.buildDirectory.file('scenicview.zip'))
options = ['--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages']
launcher {
name = 'scenicView'
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.0-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 26b615e

Please sign in to comment.