try to fix newer java Multi-Release

This commit is contained in:
creeper123123321 2021-03-05 18:56:11 -03:00 committed by GitHub
parent 779e1dab4d
commit 1ab6d9cda5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,6 +87,9 @@ tasks {
dependsOn(shadowJar) dependsOn(shadowJar)
dependsOn(named("dependencyUpdates")) dependsOn(named("dependencyUpdates"))
} }
jar {
manifest.attributes("Multi-Release" to "true")
}
} }
tasks.named<ProcessResources>("processResources") { tasks.named<ProcessResources>("processResources") {