Skip to content
This repository has been archived by the owner on May 5, 2024. It is now read-only.

Commit

Permalink
Remove the 'release' file produced by jlink
Browse files Browse the repository at this point in the history
  • Loading branch information
tomas-pluskal committed Sep 3, 2019
1 parent 25963ef commit 354ae81
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,14 @@ tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}

/*
* Remove the "release" file produced by jlink
*/
jre {
doLast {
delete file("${buildDir}/jre/release")
}
}

/*
* Set the basic Java runtime parameters (heap size etc.)
Expand Down Expand Up @@ -217,7 +225,7 @@ startScripts {
* Build the JVM runtime using jlink
*/
runtime {
options = ["--compress=2", "--vm=server", "--no-header-files", "--no-man-pages"]
options = ["--compress=2", "--vm=server", "--no-header-files", "--no-man-pages", "--output", "jre/jre"]
modules = ["java.desktop",
"java.logging",
"java.rmi",
Expand Down

0 comments on commit 354ae81

Please sign in to comment.