fix(launch4j): do not overwrite Java heap configuration from applicationDefaultJvmArgs (PR #2218)

This commit is contained in:
Jan S.
2024-07-20 21:46:45 +02:00
committed by GitHub
parent ec0bf701c8
commit a8d889de3d
-3
View File
@@ -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())