mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-12 04:23:54 +00:00
Release to Modrinth (#1968)
* feat: Release to Modrinth * chore: List-ify gameVersions
This commit is contained in:
committed by
GitHub
parent
87f680683d
commit
a32d8dcbdb
@ -3,6 +3,7 @@ import io.papermc.paperweight.userdev.attribute.Obfuscation
|
||||
|
||||
plugins {
|
||||
`java-library`
|
||||
id("com.modrinth.minotaur") version "2.+"
|
||||
}
|
||||
|
||||
project.description = "Bukkit"
|
||||
@ -187,3 +188,16 @@ tasks.named<ShadowJar>("shadowJar") {
|
||||
tasks.named("assemble").configure {
|
||||
dependsOn("shadowJar")
|
||||
}
|
||||
|
||||
tasks {
|
||||
modrinth {
|
||||
token.set(System.getenv("MODRINTH_TOKEN"))
|
||||
projectId.set("fastasyncworldedit")
|
||||
versionName.set("${project.version}")
|
||||
versionNumber.set("${project.version}")
|
||||
versionType.set("release")
|
||||
uploadFile.set(file("build/libs/${rootProject.name}-Bukkit-${project.version}.jar"))
|
||||
gameVersions.addAll(listOf("1.19.2", "1.19.1", "1.19", "1.18.2", "1.17.1", "1.16.5"))
|
||||
loaders.addAll(listOf("paper", "purpur", "spigot"))
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user