Skip to content

Commit 2107ce3

Browse files
authored
Set escapeBackslash for fabric.mod.json variable expansion
1 parent 38328bb commit 2107ce3

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
@@ -52,7 +52,9 @@ processResources {
5252
inputs.property "version", project.version
5353

5454
filesMatching("fabric.mod.json") {
55-
expand "version": project.version
55+
expand("version": project.version) {
56+
escapeBackslash = true
57+
}
5658
}
5759
}
5860

0 commit comments

Comments
 (0)