mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-26 14:30:17 +01:00
Update paperweight to 2.0.0-beta.8 and remove deprecated VM arg from runs
This commit is contained in:
parent
3bfdf6a07a
commit
54debf494f
3 changed files with 3 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -48,4 +48,4 @@ test-plugin.settings.gradle.kts
|
||||||
paper-api-generator.settings.gradle.kts
|
paper-api-generator.settings.gradle.kts
|
||||||
|
|
||||||
# Don't track patched vanilla submodules
|
# Don't track patched vanilla submodules
|
||||||
paper-server/src/vanilla/
|
paper-server/src/minecraft/
|
||||||
|
|
|
@ -12,7 +12,7 @@ import java.nio.file.Path
|
||||||
import kotlin.random.Random
|
import kotlin.random.Random
|
||||||
|
|
||||||
plugins {
|
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 {
|
subprojects {
|
||||||
|
|
|
@ -271,7 +271,7 @@ fun TaskContainer.registerRunTask(
|
||||||
languageVersion.set(JavaLanguageVersion.of(21))
|
languageVersion.set(JavaLanguageVersion.of(21))
|
||||||
vendor.set(JvmVendorSpec.JETBRAINS)
|
vendor.set(JvmVendorSpec.JETBRAINS)
|
||||||
})
|
})
|
||||||
jvmArgs("-XX:+AllowEnhancedClassRedefinition", "-XX:+AllowRedefinitionToAddDeleteMethods")
|
jvmArgs("-XX:+AllowEnhancedClassRedefinition")
|
||||||
|
|
||||||
if (rootProject.childProjects["test-plugin"] != null) {
|
if (rootProject.childProjects["test-plugin"] != null) {
|
||||||
val testPluginJar = rootProject.project(":test-plugin").tasks.jar.flatMap { it.archiveFile }
|
val testPluginJar = rootProject.project(":test-plugin").tasks.jar.flatMap { it.archiveFile }
|
||||||
|
|
Loading…
Reference in a new issue