mirror of
https://github.com/TeamMidnightDust/CullLeaves.git
synced 2025-12-16 06:15:08 +01:00
Automatically mark MidnightLib as dependency
This commit is contained in:
@@ -86,6 +86,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")
|
||||||
|
|||||||
@@ -75,14 +75,24 @@ unifiedPublishing {
|
|||||||
changelog = releaseChangelog()
|
changelog = releaseChangelog()
|
||||||
gameVersions = []
|
gameVersions = []
|
||||||
gameLoaders = ["neoforge"]
|
gameLoaders = ["neoforge"]
|
||||||
|
|
||||||
mainPublication remapJar
|
mainPublication remapJar
|
||||||
|
|
||||||
|
relations {
|
||||||
|
depends {
|
||||||
|
curseforge = "midnightlib"
|
||||||
|
modrinth = "midnightlib"
|
||||||
|
}
|
||||||
|
includes {}
|
||||||
|
}
|
||||||
|
|
||||||
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) {
|
||||||
curseforge {
|
curseforge {
|
||||||
token = CURSEFORGE_TOKEN
|
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
|
||||||
|
releaseType = "alpha"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user