mirror of
https://github.com/TeamMidnightDust/CullLeaves.git
synced 2025-12-17 06:35:10 +01:00
Fix CurseForge publishing
This commit is contained in:
@@ -88,10 +88,10 @@ unifiedPublishing {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var CURSE_API_KEY = project.findProperty("CURSE_API_KEY") ?: System.getenv("CURSE_API_KEY")
|
var CURSEFORGE_TOKEN = project.findProperty("CURSEFORGE_TOKEN") ?: System.getenv("CURSEFORGE_TOKEN")
|
||||||
if (CURSE_API_KEY != null) {
|
if (CURSEFORGE_TOKEN != null) {
|
||||||
curseforge {
|
curseforge {
|
||||||
token = CURSE_API_KEY
|
token = CURSEFORGE_TOKEN
|
||||||
id = rootProject.curseforge_id
|
id = rootProject.curseforge_id
|
||||||
gameVersions.addAll "Java 17", project.minecraft_version
|
gameVersions.addAll "Java 17", project.minecraft_version
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -77,10 +77,10 @@ unifiedPublishing {
|
|||||||
gameLoaders = ["neoforge"]
|
gameLoaders = ["neoforge"]
|
||||||
mainPublication remapJar
|
mainPublication remapJar
|
||||||
|
|
||||||
var CURSE_API_KEY = project.findProperty("CURSE_API_KEY") ?: System.getenv("CURSE_API_KEY")
|
var CURSEFORGE_TOKEN = project.findProperty("CURSEFORGE_TOKEN") ?: System.getenv("CURSEFORGE_TOKEN")
|
||||||
if (CURSE_API_KEY != null) {
|
if (CURSEFORGE_TOKEN != null) {
|
||||||
curseforge {
|
curseforge {
|
||||||
token = CURSE_API_KEY
|
token = CURSEFORGE_TOKEN
|
||||||
id = rootProject.curseforge_id
|
id = rootProject.curseforge_id
|
||||||
gameVersions.addAll "Java 17", project.minecraft_version
|
gameVersions.addAll "Java 17", project.minecraft_version
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user