diff --git a/build.gradle b/build.gradle index 2690b27..ac8fa58 100644 --- a/build.gradle +++ b/build.gradle @@ -85,4 +85,11 @@ publishing { // The repositories here will be used for publishing your artifact, not for // retrieving dependencies. } -} \ No newline at end of file +} + +processResources { + inputs.property "version", project.version + filesMatching("fabric.mod.json") { + expand "version": project.version + } +}