Skip to content

Commit

Permalink
fix: resolve unknown property error
Browse files Browse the repository at this point in the history
  • Loading branch information
SerenModz21 committed Nov 25, 2024
1 parent 2916173 commit a559314
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -79,19 +79,19 @@ base {
}

tasks.processResources {
inputs.property("version", property("version"))
inputs.property("version", project.version)

filesMatching("fabric.mod.json") {
expand(mutableMapOf(
"version" to property("version"),
"minecraft_version" to property("minecraft_version"),
"fabric_kotlin_version" to property("fabric_kotlin_version")
"version" to project.version,
"minecraft_version" to project.extra["minecraft_version"],
"fabric_kotlin_version" to project.extra["fabric_kotlin_version"]
))
}

filesMatching("config.yml") {
filter<ReplaceTokens>("beginToken" to "\${", "endToken" to "}", "tokens" to mapOf(
"version" to property("version")
"version" to project.version
))
}
}
Expand Down

0 comments on commit a559314

Please sign in to comment.