mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 15:10:23 +00:00
Enable zgc
This commit is contained in:
parent
544dc85e6f
commit
4640e10ac0
1 changed files with 4 additions and 2 deletions
|
@ -142,11 +142,13 @@ project.ext {
|
|||
"-Dio.xpipe.app.arch=$rootProject.arch",
|
||||
"-Dio.xpipe.app.languages=${String.join(",", languages)}",
|
||||
"-Dfile.encoding=UTF-8",
|
||||
// Disable this for now as it requires Windows 10+
|
||||
// '-XX:+UseZGC',
|
||||
"-Dvisualvm.display.name=XPipe",
|
||||
"-Djavafx.preloader=io.xpipe.app.core.AppPreloader"
|
||||
]
|
||||
// Disable this for now as it requires Windows 10+
|
||||
if (!org.gradle.internal.os.OperatingSystem.current().isWindows()) {
|
||||
jvmRunArgs += ['-XX:+UseZGC']
|
||||
}
|
||||
if (org.gradle.internal.os.OperatingSystem.current().isMacOsX()) {
|
||||
jvmRunArgs += ["-Dapple.awt.application.appearance=system"]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue