3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-11-20 06:50:09 +01:00

Add Multi-Release: true to standalone manifest (#3795)

Dieser Commit ist enthalten in:
Konicai 2023-05-24 21:46:43 -04:00 committet von GitHub
Ursprung ba4e37075d
Commit f7d2b4ece3
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -22,6 +22,13 @@ application {
mainClass.set("org.geysermc.geyser.platform.standalone.GeyserStandaloneBootstrap") mainClass.set("org.geysermc.geyser.platform.standalone.GeyserStandaloneBootstrap")
} }
tasks.named<Jar>("jar") {
manifest {
// log4j provides multi-release java 9 code which resolves https://github.com/GeyserMC/Geyser/issues/3693
attributes("Multi-Release" to true)
}
}
tasks.withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar> { tasks.withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar> {
archiveBaseName.set("Geyser-Standalone") archiveBaseName.set("Geyser-Standalone")