Update paperweight to 2.0.0-beta.8 and remove deprecated VM arg from runs

This commit is contained in:
Jason Penilla 2024-12-21 13:51:42 -08:00
parent 3bfdf6a07a
commit 54debf494f
No known key found for this signature in database
GPG key ID: 0E75A301420E48F8
3 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View file

@ -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/

View file

@ -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 {

View file

@ -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 }