Remove JVM arguments for OSX when running examples

accellbaker
David Berrios 6 years ago committed by Stephen Gold
parent 989fc0a9f0
commit 95ba65c8c5
  1. 4
      jme3-examples/build.gradle

@ -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…
Cancel
Save