run: only set log file path if non-null
This commit is contained in:
parent
d1b866735a
commit
a2554874d3
@ -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…
x
Reference in New Issue
Block a user