Skip to content

Commit

Permalink
chore: enable multi-release for shadow jar (#562)
Browse files Browse the repository at this point in the history
  • Loading branch information
iProdigy authored Oct 3, 2024
1 parent f3f544c commit e8000a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ tasks.withType<AbstractArchiveTask>().configureEach {
tasks.register(name = "shadowJar", type = Jar::class) {
dependsOn(configurations.testRuntimeClasspath)
manifest {
attributes(mapOf("Main-Class" to "dinkplugin.DinkTest"))
attributes(mapOf("Main-Class" to "dinkplugin.DinkTest", "Multi-Release" to true))
}

duplicatesStrategy = DuplicatesStrategy.EXCLUDE
Expand Down

0 comments on commit e8000a1

Please sign in to comment.