Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
zly2006 committed Dec 4, 2024
1 parent 2f07f72 commit 9ef25b3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,14 @@ publishMods {
modrinth {
projectId = property("publish.modrinth").toString()
accessToken = providers.environmentVariable("MODRINTH_TOKEN")
minecraftVersions.add(mcVersion)
requires {
slug = "fabric-api"
}
minecraftVersions.addAll(
property("mod.mc_targets").toString().split(" ")
.filter { it.isNotBlank() }
.plus(mcVersion)
.distinct()
)
requires("fabric-api", "fabric-language-kotlin")
optional("polylib")
}

// curseforge {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ org.gradle.caching.debug=false
org.gradle.configureondemand=true

# Mod properties
mod.version=0.3.1
mod.version=0.3.2
mod.group=com.github.zly2006
mod.id=x-backup
mod.name=X Backup
Expand Down

0 comments on commit 9ef25b3

Please sign in to comment.