Skip to content

Commit

Permalink
update (architectury-loom, paperweight)
Browse files Browse the repository at this point in the history
  • Loading branch information
topi-banana committed Feb 22, 2025
1 parent 240b041 commit 5d9a4e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
15 changes: 3 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ plugins {
id 'java'

// https://github.com/architectury/architectury-loom
id 'dev.architectury.loom' version '1.7-SNAPSHOT' apply false
id 'dev.architectury.loom' version '1.9.426' apply false

// https://docs.papermc.io/paper/dev/userdev
id 'io.papermc.paperweight.userdev' version '1.7.7' apply false
id 'io.papermc.paperweight.userdev' version '2.0.0-beta.14' apply false
// https://github.com/jpenilla/run-task
id 'xyz.jpenilla.run-paper' version '2.3.1' apply false

Expand Down Expand Up @@ -139,6 +139,7 @@ dependencies {
}
if (project.platform == 'paper') {
compileOnly "io.papermc.paper:paper-api:${project.minecraft_version}-R0.1-SNAPSHOT"
paperweight.paperDevBundle("${project.minecraft_version}-R0.1-SNAPSHOT")
}
if (project.hasProperty('litematica_version')) {
modImplementation "maven.modrinth:litematica:${project.litematica_version}"
Expand Down Expand Up @@ -169,9 +170,6 @@ if (use_architectury_loom) {
}
}
}
remapJar {
remapperIsolation = true
}
}

processResources {
Expand Down Expand Up @@ -271,13 +269,6 @@ if (use_paperweight) {
tasks.assemble {
dependsOn(tasks.reobfJar)
}
tasks {
reobfJar {
// This is an example of how you might change the output location for reobfJar. It's recommended not to do this
// for a variety of reasons, however it's asked frequently enough that an example of how to do it is included here.
outputJar = layout.buildDirectory.file("libs/${project.mod_name}-${fullProjectVersion}.jar")
}
}
}

relocator {
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.10-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down

0 comments on commit 5d9a4e2

Please sign in to comment.