From: David ‘Bombe’ Roden Date: Thu, 7 Mar 2024 19:54:12 +0000 (+0100) Subject: 👷 Update Gradle to 8.6 X-Git-Tag: v2~17 X-Git-Url: https://git.pterodactylus.net/?p=rhynodge.git;a=commitdiff_plain;h=83ebdc492e620a6217b3a545faa8dc81ea381fc2 👷 Update Gradle to 8.6 --- diff --git a/build.gradle b/build.gradle index 17a9e89..69fff10 100644 --- a/build.gradle +++ b/build.gradle @@ -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 { diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 111cb7b..a9d6344 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -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