diff --git a/bootstrap/standalone/build.gradle.kts b/bootstrap/standalone/build.gradle.kts index f5aaceab8..b5fae9db3 100644 --- a/bootstrap/standalone/build.gradle.kts +++ b/bootstrap/standalone/build.gradle.kts @@ -22,6 +22,13 @@ application { mainClass.set("org.geysermc.geyser.platform.standalone.GeyserStandaloneBootstrap") } +tasks.named("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 { archiveBaseName.set("Geyser-Standalone")