Skip to content

Commit

Permalink
yes yes
Browse files Browse the repository at this point in the history
  • Loading branch information
YTG1234 committed Dec 14, 2020
1 parent a933346 commit 69587d3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class Globals {

static def modrinthId = "z0z6kFjN"
static String modrinthChangelog = null
static def modrinthMcVers = ["1.16.2", "1.16.3", "1.16.4", "20w45a", "20w46a", "20w48a", "20w49a"]
}


Expand Down Expand Up @@ -101,7 +102,9 @@ task publishToMR(type: TaskModrinthUpload) {
addFile file("${project.buildDir}/libs/${project.archivesBaseName}-${Globals.modVer}-dev.jar")
addFile file("${project.buildDir}/libs/${project.archivesBaseName}-${Globals.modVer}-sources.jar")
// Metadata
addGameVersion(Globals.mcVer)
Globals.modrinthMcVers.forEach {
addGameVersion(it)
}
addLoader("fabric")
versionName = "[$Globals.mcVer] $archivesBaseName $Globals.modVer"
changelog = Globals.modrinthChangelog != null && Globals.modrinthChangelog != "" ? Globals.modrinthChangelog : ""
Expand Down

0 comments on commit 69587d3

Please sign in to comment.