Weiter Fixes

This commit is contained in:
2026-08-10 20:06:25 +02:00
parent 145db8317f
commit ae3caacebf
7 changed files with 9 additions and 5 deletions

View File

@@ -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
}