Weiter Fixes
This commit is contained in:
@@ -57,6 +57,7 @@ tasks.register('run', JavaExec) {
|
||||
jvmArgs = [
|
||||
'--add-opens', 'java.base/java.lang=ALL-UNNAMED',
|
||||
'--add-opens', 'java.desktop/sun.awt=ALL-UNNAMED',
|
||||
'--enable-native-access=ALL-UNNAMED',
|
||||
"-Djava.library.path=${buildDir}/natives",
|
||||
]
|
||||
dependsOn extractNatives
|
||||
@@ -64,6 +65,9 @@ tasks.register('run', JavaExec) {
|
||||
}
|
||||
|
||||
jar {
|
||||
// logback.xml nicht in die Bibliotheks-Jar einbetten – der Editor bringt seine eigene mit,
|
||||
// was sonst zu "occurs multiple times on the classpath"-Warnungen führt.
|
||||
exclude 'logback.xml'
|
||||
manifest {
|
||||
attributes 'Main-Class': mainClassName
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user