Skip to content

Commit 449759d

Browse files
committed
build: Don't reference Project at execution time
1 parent ca54e6c commit 449759d

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

cloud-fabric/build.gradle.kts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,11 @@ dependencies {
5555
}
5656

5757
tasks {
58-
withType<ProcessResources>().configureEach() {
59-
inputs.property("version", project.version)
58+
withType<ProcessResources>().configureEach {
59+
val props = mapOf("version" to project.version)
60+
inputs.properties(props)
6061
filesMatching("fabric.mod.json") {
61-
expand("version" to project.version)
62+
expand(props)
6263
}
6364
}
6465

0 commit comments

Comments
 (0)