9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2025-12-21 07:49:35 +00:00

Update Paper and use archive

This commit is contained in:
violetc
2024-12-25 23:35:27 +08:00
parent aeeef2213c
commit 2c30e1174b
2 changed files with 3 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
plugins { plugins {
java java
`maven-publish` `maven-publish`
id("org.leavesmc.leavesweight.patcher") version "1.0.1-SNAPSHOT" id("org.leavesmc.leavesweight.patcher") version "1.0.2-SNAPSHOT"
} }
allprojects { allprojects {
@@ -67,7 +67,7 @@ paperweight {
remapRepo.set("https://maven.fabricmc.net/") remapRepo.set("https://maven.fabricmc.net/")
decompileRepo.set("https://files.minecraftforge.net/maven/") decompileRepo.set("https://files.minecraftforge.net/maven/")
usePaperUpstream(providers.gradleProperty("paperRef")) { usePaperArchiveUpstream(providers.gradleProperty("paperRef")) {
withPaperPatcher { withPaperPatcher {
apiPatchDir.set(layout.projectDirectory.dir("patches/api")) apiPatchDir.set(layout.projectDirectory.dir("patches/api"))
apiOutputDir.set(layout.projectDirectory.dir("leaves-api")) apiOutputDir.set(layout.projectDirectory.dir("leaves-api"))

View File

@@ -1,7 +1,7 @@
group=org.leavesmc.leaves group=org.leavesmc.leaves
version=1.21.3-R0.1-SNAPSHOT version=1.21.3-R0.1-SNAPSHOT
mcVersion=1.21.3 mcVersion=1.21.3
paperRef=da7138233f6392e791d790d1c3407414c855f9c2 paperRef=5a60ffb8b1cc88c1480a4c5f5c221291be97527f
preVersion=true preVersion=true
org.gradle.jvmargs=-Xmx2G org.gradle.jvmargs=-Xmx2G
org.gradle.caching=true org.gradle.caching=true