run: only set log file path if non-null

cleanup_build_scripts
Kirill Vainer 9 years ago
parent d1b866735a
commit a2554874d3
  1. 4
      jme3-examples/build.gradle

@ -12,7 +12,9 @@ task run(dependsOn: 'build', type:JavaExec) {
jvmArgs "-Djava.awt.headless=true"
}
systemProperty "java.util.logging.config.file", System.getProperty("java.util.logging.config.file")
if (System.properties['java.util.logging.config.file'] != null) {
systemProperty "java.util.logging.config.file", System.properties['java.util.logging.config.file']
}
if( assertions == "true" ){
enableAssertions = true;

Loading…
Cancel
Save