From 54debf494f467a71c561cf8765c4f21725c99dd8 Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Sat, 21 Dec 2024 13:51:42 -0800 Subject: [PATCH] Update paperweight to 2.0.0-beta.8 and remove deprecated VM arg from runs --- .gitignore | 2 +- build.gradle.kts | 2 +- paper-server/build.gradle.kts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e08033d541..53a798d16e 100644 --- a/.gitignore +++ b/.gitignore @@ -48,4 +48,4 @@ test-plugin.settings.gradle.kts paper-api-generator.settings.gradle.kts # Don't track patched vanilla submodules -paper-server/src/vanilla/ +paper-server/src/minecraft/ diff --git a/build.gradle.kts b/build.gradle.kts index 23e8eafd5d..f21b88e818 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -12,7 +12,7 @@ import java.nio.file.Path import kotlin.random.Random plugins { - id("io.papermc.paperweight.core") version "2.0.0-beta.7" apply false + id("io.papermc.paperweight.core") version "2.0.0-beta.8" apply false } subprojects { diff --git a/paper-server/build.gradle.kts b/paper-server/build.gradle.kts index dc2bce7b5a..f36c81c083 100644 --- a/paper-server/build.gradle.kts +++ b/paper-server/build.gradle.kts @@ -271,7 +271,7 @@ fun TaskContainer.registerRunTask( languageVersion.set(JavaLanguageVersion.of(21)) vendor.set(JvmVendorSpec.JETBRAINS) }) - jvmArgs("-XX:+AllowEnhancedClassRedefinition", "-XX:+AllowRedefinitionToAddDeleteMethods") + jvmArgs("-XX:+AllowEnhancedClassRedefinition") if (rootProject.childProjects["test-plugin"] != null) { val testPluginJar = rootProject.project(":test-plugin").tasks.jar.flatMap { it.archiveFile }