Fix paper version not loading on versions before 1.20.5

This commit is contained in:
Lukas Rieger (Blue) 2024-09-15 16:55:10 +02:00
parent 8cde7f4162
commit 407bbf4018
No known key found for this signature in database
GPG Key ID: AA33883B1BBA03E6

View File

@ -11,6 +11,7 @@ val supportedMinecraftVersions = listOf(
val minecraftVersion = supportedMinecraftVersions.first() val minecraftVersion = supportedMinecraftVersions.first()
val paperVersion = "${minecraftVersion}-R0.1-SNAPSHOT" val paperVersion = "${minecraftVersion}-R0.1-SNAPSHOT"
val apiVersion = "1.20" // paper-version but without minor
dependencies { dependencies {
api ( project( ":common" ) ) { api ( project( ":common" ) ) {
@ -65,7 +66,7 @@ tasks.processResources {
expand ( expand (
"version" to project.version, "version" to project.version,
"api_version" to minecraftVersion, "api_version" to apiVersion,
"flow_math_version" to libs.flow.math.get().version "flow_math_version" to libs.flow.math.get().version
) )
} }