Skip to content

Commit

Permalink
Update build.gradle
Browse files Browse the repository at this point in the history
Test common publish
  • Loading branch information
Crystal-Spider authored May 26, 2024
1 parent 72d5e9f commit 60ca6fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,9 @@ subprojects { subproject ->
setDisableEmptyJarCheck(true) // Disable check for valid mod metadata entry in artifact, which could possibly mean that the jar is empty.
setModrinthID(mod_id_kebab)
setCurseID(curseforge_id)
setLoaders(noPublish ? [] : loader)
if (!noPublish) {
setLoaders(loader)
}
setGameVersions(minecraft_version)
setDisplayName("[${loader} - ${minecraft_version}] ${mod_title} v${mod_version}")
setJavaVersions([JavaVersion.VERSION_17])
Expand Down

0 comments on commit 60ca6fa

Please sign in to comment.