fix gui:run target
This commit is contained in:
@ -42,14 +42,22 @@ griffon {
|
||||
|
||||
application {
|
||||
mainClassName = 'com.muwire.gui.Launcher'
|
||||
applicationDefaultJvmArgs = ['-Djava.util.logging.config.file=logging.properties',
|
||||
'-Xmx256M',
|
||||
applicationName = 'MuWire'
|
||||
}
|
||||
|
||||
run {
|
||||
applicationDefaultJvmArgs=[]
|
||||
}
|
||||
|
||||
startScripts.doFirst {
|
||||
application.applicationDefaultJvmArgs = ["-Djava.util.logging.config.file=logging.properties",
|
||||
"-Xmx256M",
|
||||
"--add-opens", "java.base/java.lang=ALL-UNNAMED",
|
||||
"--add-opens", "java.base/sun.nio.fs=ALL-UNNAMED",
|
||||
"--add-opens", "java.desktop/java.awt=ALL-UNNAMED",
|
||||
"--add-opens", "java.desktop/javax.swing=ALL-UNNAMED",
|
||||
"--add-opens", "java.desktop/javax.swing.plaf.basic=ALL-UNNAMED"]
|
||||
applicationName = 'MuWire'
|
||||
|
||||
}
|
||||
|
||||
apply from: 'gradle/publishing.gradle'
|
||||
|
Reference in New Issue
Block a user