Skip to content

Commit

Permalink
update Gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
HSGamer committed Aug 12, 2024
1 parent 43d3323 commit 806e783
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import io.papermc.paperweight.userdev.ReobfArtifactConfiguration

plugins {
id 'java'
id("io.papermc.paperweight.userdev") version "1.7.1"
Expand Down Expand Up @@ -28,6 +30,10 @@ repositories {
}
}

paperweight {
paperweight.setReobfArtifactConfiguration(ReobfArtifactConfiguration.getMOJANG_PRODUCTION())
}

dependencies {
def versionFile = file("version")
if (!versionFile.exists()) {
Expand Down Expand Up @@ -58,11 +64,6 @@ shadowJar {
relocate("me.hsgamer.hscore", "me.hsgamer.morefoworld.core")
relocate("io.github.projectunified.minelib", "me.hsgamer.morefoworld.minelib")
minimize()
manifest {
attributes(
'paperweight-mappings-namespace': 'mojang'
)
}
}

def targetJavaVersion = 21
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down

0 comments on commit 806e783

Please sign in to comment.