From 2c30e1174be2192139d10e510c1a7de9f4376840 Mon Sep 17 00:00:00 2001 From: violetc <58360096+s-yh-china@users.noreply.github.com> Date: Wed, 25 Dec 2024 23:35:27 +0800 Subject: [PATCH] Update Paper and use archive --- build.gradle.kts | 4 ++-- gradle.properties | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index e5f66e26..1ed07529 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,7 +1,7 @@ plugins { java `maven-publish` - id("org.leavesmc.leavesweight.patcher") version "1.0.1-SNAPSHOT" + id("org.leavesmc.leavesweight.patcher") version "1.0.2-SNAPSHOT" } allprojects { @@ -67,7 +67,7 @@ paperweight { remapRepo.set("https://maven.fabricmc.net/") decompileRepo.set("https://files.minecraftforge.net/maven/") - usePaperUpstream(providers.gradleProperty("paperRef")) { + usePaperArchiveUpstream(providers.gradleProperty("paperRef")) { withPaperPatcher { apiPatchDir.set(layout.projectDirectory.dir("patches/api")) apiOutputDir.set(layout.projectDirectory.dir("leaves-api")) diff --git a/gradle.properties b/gradle.properties index 8f40ec49..d84f58c8 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,7 @@ group=org.leavesmc.leaves version=1.21.3-R0.1-SNAPSHOT mcVersion=1.21.3 -paperRef=da7138233f6392e791d790d1c3407414c855f9c2 +paperRef=5a60ffb8b1cc88c1480a4c5f5c221291be97527f preVersion=true org.gradle.jvmargs=-Xmx2G org.gradle.caching=true