👷 Update Gradle to 8.6
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 7 Mar 2024 19:54:12 +0000 (20:54 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 7 Mar 2024 19:54:12 +0000 (20:54 +0100)
build.gradle
gradle/wrapper/gradle-wrapper.properties

index 17a9e89..69fff10 100644 (file)
@@ -60,7 +60,7 @@ dependencies {
 }
 
 task fatJar(type: Jar) {
-    baseName = project.name + "-all"
+    archiveBaseName.set(project.name + "-all")
     manifest {
         attributes(
                 "Main-Class": "net.pterodactylus.rhynodge.engine.Starter"
@@ -89,6 +89,9 @@ task createVersion() {
     processResources.dependsOn(createVersion)
 }
 
+tasks.named("processGeneratedResources") {
+    duplicatesStrategy = DuplicatesStrategy.INCLUDE
+}
 
 import org.ajoberstar.grgit.Grgit
 createVersion {
index 111cb7b..a9d6344 100644 (file)
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
 zipStoreBase=GRADLE_USER_HOME
 zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.4-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip