소스 검색

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
     }
 }