From e8000a1160fac7718229fe566b5234301c46c0d8 Mon Sep 17 00:00:00 2001 From: iProdigy <8106344+iProdigy@users.noreply.github.com> Date: Thu, 3 Oct 2024 07:58:56 +0000 Subject: [PATCH] chore: enable multi-release for shadow jar (#562) --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 52738ecd..a038d728 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -72,7 +72,7 @@ tasks.withType().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