mirror of
https://github.com/wisplite/crystalline-sky.git
synced 2026-10-30 13:32:18 -05:00
fix modrinth config
This commit is contained in:
+3
-3
@@ -214,7 +214,7 @@ subprojects {
|
|||||||
"<!--DO NOT EDIT MANUALLY: synced from gh readme-->\n${it}"
|
"<!--DO NOT EDIT MANUALLY: synced from gh readme-->\n${it}"
|
||||||
}
|
}
|
||||||
configure<ModrinthExtension> {
|
configure<ModrinthExtension> {
|
||||||
token = providers.environmentVariable("MODRINTH_TOKEN")
|
token.set(providers.environmentVariable("MODRINTH_TOKEN"))
|
||||||
projectId = "slug"()
|
projectId = "slug"()
|
||||||
versionNumber.set(project.version.toString())
|
versionNumber.set(project.version.toString())
|
||||||
versionType.set(providers.environmentVariable("RELEASE_TYPE").orElse("release"))
|
versionType.set(providers.environmentVariable("RELEASE_TYPE").orElse("release"))
|
||||||
@@ -226,8 +226,8 @@ subprojects {
|
|||||||
} else {
|
} else {
|
||||||
loaders.add("neoforge")
|
loaders.add("neoforge")
|
||||||
}
|
}
|
||||||
changelog = providers.environmentVariable("CHANGELOG")
|
changelog.set(providers.environmentVariable("CHANGELOG"))
|
||||||
syncBodyFrom = description
|
syncBodyFrom.set(description)
|
||||||
dependencies {
|
dependencies {
|
||||||
if (isFabric) {
|
if (isFabric) {
|
||||||
required.version("fabric-api", libs.versions.fapi.get())
|
required.version("fabric-api", libs.versions.fapi.get())
|
||||||
|
|||||||
Reference in New Issue
Block a user