Skip to content

Commit 0b4c304

Browse files
committed
Set escapeBackslash for fabric.mod.json variable expansion
1 parent 3c9141f commit 0b4c304

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/src/lib/template/templates/gradle/groovy/build.gradle.eta

+3-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ processResources {
5454
inputs.property "version", project.version
5555

5656
filesMatching("fabric.mod.json") {
57-
expand "version": project.version
57+
expand("version": project.version) {
58+
escapeBackslash = true
59+
}
5860
}
5961
}
6062

0 commit comments

Comments
 (0)