Skip to content

Commit

Permalink
Updated build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
MineDragonCZ committed Nov 8, 2023
1 parent 5701c00 commit be336cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit be336cc

Please sign in to comment.