From be336ccb04b67a0dedb5fe2e6eef74ee5b3e073f Mon Sep 17 00:00:00 2001 From: MineDragonCZ_ Date: Wed, 8 Nov 2023 15:05:28 +0100 Subject: [PATCH] Updated build.gradle --- build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index c5f4f92d..ce3a1506 100644 --- a/build.gradle +++ b/build.gradle @@ -158,7 +158,8 @@ jar { task replaceTokens(type: Sync) { from sourceSets.main.java - inputs.property 'version', project.mc_version.toString() + inputs.property 'mc_version', project.mod_version.toString() + inputs.property 'version', project.version.toString() filter(ReplaceTokens, tokens: [VERSION: version.toString()]) filter(ReplaceTokens, tokens: [MCVERSION: "${project.mc_version}".toString()]) into "$buildDir/src"