Skip to content

Commit efb8891

Browse files
committed
update buildscript
1 parent 30b193e commit efb8891

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//version: 1656003793falsepattern38
1+
//version: 1656003793falsepattern40
22
/*
33
DO NOT CHANGE THIS FILE!
44
@@ -727,6 +727,7 @@ if (curseForgeProjectId != "") {
727727
changelog = project.changelog.replace("{version}", modVersion)
728728
releaseType = modVersion.contains("-a") ? "alpha" : modVersion.contains("-b") ? "beta" : "release"
729729
addGameVersion project.minecraft.version
730+
addGameVersion "Forge"
730731
mainArtifact(jar) {
731732
displayName = "$modName version: $modVersion"
732733
}
@@ -749,7 +750,7 @@ if (curseForgeProjectId != "") {
749750
}
750751
}
751752
tasks.curseforge.dependsOn(build)
752-
tasks.publish.dependsOn(curseforge)
753+
tasks.publish.dependsOn(tasks.curseforge)
753754
}
754755

755756
if (modrinthProjectId != "") {
@@ -779,7 +780,7 @@ if (modrinthProjectId != "") {
779780
}
780781
}
781782
tasks.modrinth.dependsOn(build)
782-
tasks.publish.dependsOn(modrinth)
783+
tasks.publish.dependsOn(tasks.modrinth)
783784
}
784785

785786
def addModrinthDep(scope, type, name) {

0 commit comments

Comments
 (0)