Publishing: Add MidnightLib to the relations

This commit is contained in:
Martin Prokoph
2024-09-06 18:52:10 +02:00
parent 35c613a536
commit 9dbe28242a
2 changed files with 10 additions and 0 deletions

View File

@@ -79,6 +79,10 @@ unifiedPublishing {
curseforge = "fabric-api" curseforge = "fabric-api"
modrinth = "fabric-api" modrinth = "fabric-api"
} }
includes {
curseforge = "midnightlib"
modrinth = "midnightlib"
}
} }
var CURSEFORGE_TOKEN = project.findProperty("CURSEFORGE_TOKEN") ?: System.getenv("CURSEFORGE_TOKEN") var CURSEFORGE_TOKEN = project.findProperty("CURSEFORGE_TOKEN") ?: System.getenv("CURSEFORGE_TOKEN")

View File

@@ -84,6 +84,12 @@ unifiedPublishing {
gameVersions = [] gameVersions = []
gameLoaders = ["neoforge"] gameLoaders = ["neoforge"]
mainPublication remapJar mainPublication remapJar
relations {
depends {
curseforge = "midnightlib"
modrinth = "midnightlib"
}
}
var CURSEFORGE_TOKEN = project.findProperty("CURSEFORGE_TOKEN") ?: System.getenv("CURSEFORGE_TOKEN") var CURSEFORGE_TOKEN = project.findProperty("CURSEFORGE_TOKEN") ?: System.getenv("CURSEFORGE_TOKEN")
if (CURSEFORGE_TOKEN != null) { if (CURSEFORGE_TOKEN != null) {