Declare 1.20.4 support where applicable

This commit is contained in:
Lukas Rieger (Blue) 2023-12-10 13:17:15 +01:00
parent 72b71a91e8
commit ef728dee06
No known key found for this signature in database
GPG Key ID: 2D09EC5ED2687FF2
5 changed files with 10 additions and 6 deletions

View File

@ -144,7 +144,7 @@ modrinth {
.readText() .readText()
.replace("{version}", project.version.toString())) .replace("{version}", project.version.toString()))
uploadFile.set(tasks.findByName("remappedShadowJar")) uploadFile.set(tasks.findByName("remappedShadowJar"))
gameVersions.addAll("1.20", "1.20.1", "1.20.2", "1.20.3") gameVersions.addAll("1.20", "1.20.1", "1.20.2", "1.20.3", "1.20.4")
dependencies { dependencies {
required.project("P7dR8mSH") // Fabric API required.project("P7dR8mSH") // Fabric API
} }
@ -169,6 +169,7 @@ curseforge {
addGameVersion("1.20.1") addGameVersion("1.20.1")
addGameVersion("1.20.2") addGameVersion("1.20.2")
addGameVersion("1.20.3") addGameVersion("1.20.3")
addGameVersion("1.20.4")
mainArtifact(tasks.findByName("remappedShadowJar"), closureOf<CurseArtifact> { mainArtifact(tasks.findByName("remappedShadowJar"), closureOf<CurseArtifact> {
relations(closureOf<CurseRelation> { relations(closureOf<CurseRelation> {

View File

@ -177,7 +177,7 @@ modrinth {
.getText() .getText()
.replace("{version}", project.version.toString()) .replace("{version}", project.version.toString())
uploadFile = shadowJar uploadFile = shadowJar
gameVersions = ["1.20", "1.20.1", "1.20.2"] gameVersions = ["1.20", "1.20.1", "1.20.2", "1.20.3", "1.20.4"]
} }
curseforge { curseforge {
@ -198,6 +198,8 @@ curseforge {
addGameVersion "1.20" addGameVersion "1.20"
addGameVersion "1.20.1" addGameVersion "1.20.1"
addGameVersion "1.20.2" addGameVersion "1.20.2"
addGameVersion "1.20.3"
addGameVersion "1.20.4"
mainArtifact shadowJar mainArtifact shadowJar
} }

View File

@ -133,7 +133,7 @@ modrinth {
.replace("{version}", project.version.toString()) .replace("{version}", project.version.toString())
uploadFile = shadowJar uploadFile = shadowJar
loaders = ["neoforge"] loaders = ["neoforge"]
gameVersions = ["1.20.2", "1.20.3"] gameVersions = ["1.20.2", "1.20.3", "1.20.4"]
} }
curseforge { curseforge {
@ -153,6 +153,7 @@ curseforge {
addGameVersion "1.20.2" addGameVersion "1.20.2"
addGameVersion "1.20.3" addGameVersion "1.20.3"
addGameVersion "1.20.4"
mainArtifact shadowJar mainArtifact shadowJar
} }

View File

@ -125,7 +125,7 @@ modrinth {
uploadFile.set(tasks.findByName("shadowJar")) uploadFile.set(tasks.findByName("shadowJar"))
loaders.addAll("paper","purpur","folia") loaders.addAll("paper","purpur","folia")
gameVersions.addAll( gameVersions.addAll(
"1.20.1", "1.20.2", "1.20.3" "1.20.1", "1.20.2", "1.20.3", "1.20.4"
) )
} }
@ -145,7 +145,7 @@ hangarPublish {
register(io.papermc.hangarpublishplugin.model.Platforms.PAPER) { register(io.papermc.hangarpublishplugin.model.Platforms.PAPER) {
jar.set(tasks.shadowJar.flatMap { it.archiveFile }) jar.set(tasks.shadowJar.flatMap { it.archiveFile })
platformVersions.set(listOf( platformVersions.set(listOf(
"1.20.1", "1.20.2", "1.20.3" "1.20.1", "1.20.2", "1.20.3", "1.20.4"
)) ))
} }
} }

View File

@ -134,7 +134,7 @@ modrinth {
"1.17", "1.17.1", "1.17", "1.17.1",
"1.18", "1.18.1", "1.18.2", "1.18", "1.18.1", "1.18.2",
"1.19", "1.19.1", "1.19.2", "1.19.3", "1.19.4", "1.19", "1.19.1", "1.19.2", "1.19.3", "1.19.4",
"1.20", "1.20.1", "1.20.2", "1.20.3" "1.20", "1.20.1", "1.20.2", "1.20.3", "1.20.4"
) )
} }