[CHORE] Update ModPublisher

This commit is contained in:
2024-05-05 23:15:56 +02:00
parent 75e9cac021
commit fe01300648
4 changed files with 43 additions and 43 deletions

View File

@@ -101,25 +101,26 @@ publishing {
publisher {
apiKeys {
modrinth = System.getenv("MODRINTH_TOKEN")
curseforge = System.getenv("CURSE_TOKEN")
modrinth(System.getenv("MODRINTH_TOKEN"))
curseforge(System.getenv("CURSE_TOKEN"))
}
curseID = curse_id
modrinthID = modrinth_id
versionType = "release"
changelog = "https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-fabric.md"
version = "${minecraft_version}-${project.version}"
displayName = "[FABRIC/QUILT 1.20.4] CraterLib - ${project.version}"
gameVersions = ["1.20.4"]
loaders = ["fabric", "quilt"]
artifact = remapJar
setCurseID(curse_id)
setModrinthID(modrinth_id)
setVersionType("release")
setChangelog("https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-fabric.md")
setProjectVersion("${minecraft_version}-${project.version}")
setDisplayName("[FABRIC/QUILT 1.20.6] CraterLib - ${project.version}")
setGameVersions("1.20.6")
setLoaders("fabric", "quilt")
setArtifact(remapJar)
setCurseEnvironment("both")
modrinthDepends {
required = ["P7dR8mSH"]
required("fabric-api")
}
curseDepends {
required = ["fabric-api"]
required("fabric-api")
}
}