mirror of
https://github.com/GayPizzaSpecifications/foundation.git
synced 2025-08-05 06:21:32 +00:00
rework for 1.21, and it works!
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user