From: David ‘Bombe’ Roden Date: Sun, 25 Feb 2024 01:02:51 +0000 (+0100) Subject: 💚 Fix building of fat JAR X-Git-Tag: v2~25 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=bfa8416bdc84c4ef3f25fb16872b37886c9c00b8;p=rhynodge.git 💚 Fix building of fat JAR --- diff --git a/build.gradle b/build.gradle index 46f822d..17a9e89 100644 --- a/build.gradle +++ b/build.gradle @@ -66,6 +66,7 @@ task fatJar(type: Jar) { "Main-Class": "net.pterodactylus.rhynodge.engine.Starter" ) } + duplicatesStrategy = DuplicatesStrategy.INCLUDE from { configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) } } from { sourceSets.generated.resources.srcDirs } with jar