Remove JVM arguments for OSX when running examples
This commit is contained in:
parent
989fc0a9f0
commit
95ba65c8c5
@ -7,10 +7,6 @@ if (!hasProperty('mainClass')) {
|
||||
task run(dependsOn: 'build', type:JavaExec) {
|
||||
main = mainClass
|
||||
classpath = sourceSets.main.runtimeClasspath
|
||||
if (System.properties['os.name'].toLowerCase().contains('mac')) {
|
||||
jvmArgs "-XstartOnFirstThread"
|
||||
jvmArgs "-Djava.awt.headless=true"
|
||||
}
|
||||
|
||||
if (System.properties['java.util.logging.config.file'] != null) {
|
||||
systemProperty "java.util.logging.config.file", System.properties['java.util.logging.config.file']
|
||||
|
Loading…
x
Reference in New Issue
Block a user