mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-12-27 15:00:28 +01:00
Add Multi-Release: true
to standalone manifest (#3795)
This commit is contained in:
parent
ba4e37075d
commit
f7d2b4ece3
1 changed files with 7 additions and 0 deletions
|
@ -22,6 +22,13 @@ application {
|
|||
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> {
|
||||
archiveBaseName.set("Geyser-Standalone")
|
||||
|
||||
|
|
Loading…
Reference in a new issue