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
3 changed files with 3 additions and 3 deletions

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 }