šŸ’š Fix ā€œfatJarā€ task
authorDavid ā€˜Bombeā€™ Roden <bombe@pterodactylus.net>
Sun, 25 Feb 2024 00:46:57 +0000 (01:46 +0100)
committerDavid ā€˜Bombeā€™ Roden <bombe@pterodactylus.net>
Sun, 25 Feb 2024 00:46:57 +0000 (01:46 +0100)
build.gradle

index c25226b..46f822d 100644 (file)
@@ -66,7 +66,7 @@ task fatJar(type: Jar) {
                 "Main-Class": "net.pterodactylus.rhynodge.engine.Starter"
         )
     }
-    from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
+    from { configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) } }
     from { sourceSets.generated.resources.srcDirs }
     with jar
     dependsOn test