Преглед на файлове

Fix version replacement caching on Fabric, closes #78

malte0811 преди 3 години
родител
ревизия
9a8639a50b
променени са 1 файла, в които са добавени 6 реда и са изтрити 1 реда
  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
     }
 }