diff --git a/gradle/impl.gradle b/gradle/impl.gradle index 624a654..3fcce2a 100644 --- a/gradle/impl.gradle +++ b/gradle/impl.gradle @@ -7,7 +7,7 @@ if (!implFor.empty) { zipTree(implFor.first()).matching { PatternFilterable filter -> filter.include "fabric.mod.json" }.each { - version = version + "+" + new JsonSlurper().parse(it)["version"] + version = version + "+" + (new JsonSlurper().parse(it)["version"] as String).replace('+', '-') } }