|
@@ -35,9 +35,14 @@ loom {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+def versionReplacements = [
|
|
|
|
+ "version": mod_version
|
|
|
|
+]
|
|
|
|
+
|
|
processResources {
|
|
processResources {
|
|
|
|
+ inputs.properties(versionReplacements)
|
|
filesMatching("fabric.mod.json") {
|
|
filesMatching("fabric.mod.json") {
|
|
- expand "version": mod_version
|
|
|
|
|
|
+ expand versionReplacements
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|