Fixed #5561
This commit is contained in:
@@ -119,13 +119,14 @@ platforms.each{ platform ->
|
|||||||
"--removelibs", "$rootDir/desktop/build/packr/desktop.jar".toString()
|
"--removelibs", "$rootDir/desktop/build/packr/desktop.jar".toString()
|
||||||
]
|
]
|
||||||
|
|
||||||
|
args += "--vmargs"
|
||||||
|
|
||||||
if(platform == "MacOS"){
|
if(platform == "MacOS"){
|
||||||
args += ["--vmargs", "XstartOnFirstThread"] as String[]
|
args += "XstartOnFirstThread"
|
||||||
}else{
|
|
||||||
//TODO unneeded for windows?
|
|
||||||
args += ["--vmargs", "Dhttps.protocols=TLSv1.2,TLSv1.1,TLSv1"]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
args += "Dhttps.protocols=TLSv1.2,TLSv1.1,TLSv1"
|
||||||
|
|
||||||
exec{
|
exec{
|
||||||
commandLine args.toList()
|
commandLine args.toList()
|
||||||
standardOutput = System.out
|
standardOutput = System.out
|
||||||
|
|||||||
Reference in New Issue
Block a user