rework for 1.21, and it works!

This commit is contained in:
Alex Zenla
2025-04-10 21:42:29 -07:00
parent abd0a47424
commit c0499c0b58
20 changed files with 80 additions and 63 deletions

View File

@ -29,17 +29,17 @@ subprojects {
group = "gay.pizza.foundation"
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs += "-opt-in=kotlinx.serialization.ExperimentalSerializationApi"
compilerOptions {
freeCompilerArgs.add("-opt-in=kotlinx.serialization.ExperimentalSerializationApi")
}
}
}
val paperServerVersion: String = project.properties["paperServerVersion"]?.toString() ?: "1.18"
val paperServerVersion: String = project.properties["paperServerVersion"]?.toString() ?: "1.21"
concreteRoot {
minecraftServerPath.set("server")
paperServerVersionGroup.set(paperServerVersion)
paperApiVersion.set("1.18.2-R0.1-SNAPSHOT")
paperApiVersion.set("1.21.4-R0.1-SNAPSHOT")
acceptServerEula.set(true)
}