Explorar el Código

Fix version replacement caching on Fabric, closes #78

malte0811 hace 3 años
padre
commit
9a8639a50b
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. 6 1
      Fabric/build.gradle

+ 6 - 1
Fabric/build.gradle

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