|
@@ -7,10 +7,6 @@ if (!hasProperty('mainClass')) {
|
|
task run(dependsOn: 'build', type:JavaExec) {
|
|
task run(dependsOn: 'build', type:JavaExec) {
|
|
main = mainClass
|
|
main = mainClass
|
|
classpath = sourceSets.main.runtimeClasspath
|
|
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) {
|
|
if (System.properties['java.util.logging.config.file'] != null) {
|
|
systemProperty "java.util.logging.config.file", System.properties['java.util.logging.config.file']
|
|
systemProperty "java.util.logging.config.file", System.properties['java.util.logging.config.file']
|