Skip to content

Commit d37ddbf

Browse files
committed
Set escapeBackslash for fabric.mod.json variable expansion
1 parent 51f2f73 commit d37ddbf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ processResources {
4545
inputs.property "version", project.version
4646

4747
filesMatching("fabric.mod.json") {
48-
expand "version": project.version
48+
expand("version": project.version) {
49+
escapeBackslash = true
50+
}
4951
}
5052
}
5153

0 commit comments

Comments
 (0)