Ver código fonte

Modified the run task to pass through the log configurion
settings system property.

Paul Speed 9 anos atrás
pai
commit
95d5f58d68
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3 0
      jme3-examples/build.gradle

+ 3 - 0
jme3-examples/build.gradle

@@ -11,6 +11,9 @@ task run(dependsOn: 'build', type:JavaExec) {
         jvmArgs "-XstartOnFirstThread"
         jvmArgs "-Djava.awt.headless=true"
     }
+
+    systemProperty "java.util.logging.config.file", System.getProperty("java.util.logging.config.file")
+
     if( assertions  == "true" ){
         enableAssertions = true;
     }