💚 Fix building of fat JAR
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 25 Feb 2024 01:02:51 +0000 (02:02 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 25 Feb 2024 01:02:51 +0000 (02:02 +0100)
build.gradle

index 46f822d..17a9e89 100644 (file)
@@ -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