Skip to content

Commit

Permalink
Check version
Browse files Browse the repository at this point in the history
  • Loading branch information
Kotori316 committed May 25, 2024
1 parent e4bc73e commit 56494c4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import com.kotori316.plugin.cf.CallVersionFunctionTask
import com.kotori316.plugin.cf.CallVersionCheckFunctionTask

import java.nio.file.Files
import java.nio.file.Paths
Expand Down Expand Up @@ -560,3 +561,11 @@ tasks.register("registerVersion", CallVersionFunctionTask.class) {
changelog = getShortChangelog(false)
homepage = "https://www.curseforge.com/minecraft/mc-mods/additional-enchanted-miner"
}

tasks.register("checkReleaseVersion", CallVersionCheckFunctionTask.class) {
gameVersion = project.findProperty("minecraftVersion") as String
platform = "forge"
modName ="quarryplus"
version = project.version.toString()
failIfExists = true
}

0 comments on commit 56494c4

Please sign in to comment.