Remove JVM arguments for OSX when running examples

v3.2
David Berrios 6 years ago committed by Stephen Gold
parent 8ed4c222df
commit d1c654359d
  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