fix(launch4j): do not overwrite Java heap configuration from applicationDefaultJvmArgs (PR #2218)
This commit is contained in:
@@ -115,9 +115,6 @@ launch4j {
|
||||
chdir.set("")
|
||||
jvmOptions.set(application.applicationDefaultJvmArgs.toSet())
|
||||
requires64Bit.set(true)
|
||||
initialHeapPercent.set(5)
|
||||
maxHeapSize.set(4096)
|
||||
maxHeapPercent.set(70)
|
||||
downloadUrl.set("https://www.oracle.com/java/technologies/downloads/#jdk21-windows")
|
||||
bundledJrePath.set(if (project.hasProperty("bundleJRE")) "%EXEDIR%/jre" else "%JAVA_HOME%")
|
||||
classpath.set(tasks.getByName("shadowJar").outputs.files.map { "%EXEDIR%/lib/${it.name}" }.toSortedSet())
|
||||
|
||||
Reference in New Issue
Block a user