Skip to content

Commit

Permalink
Set escapeBackslash for fabric.mod.json variable expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
YoshiRulz authored Apr 23, 2024
1 parent c8dba6d commit 7ab2e86
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ processResources {
inputs.property "version", project.version

filesMatching("fabric.mod.json") {
expand "version": project.version
expand("version": project.version) {
escapeBackslash = true
}
}
}

Expand Down Expand Up @@ -85,4 +87,4 @@ publishing {
// The repositories here will be used for publishing your artifact, not for
// retrieving dependencies.
}
}
}

0 comments on commit 7ab2e86

Please sign in to comment.