Posted August 20, 201411 yr I'm wondering if anyone can help me. I have a README.txt in the same folder as my mcmod.info file (src/main/resources) which contains an explanation of my mod's versioning system among other things. I thought it might be a good idea to use gradle to automate adding the current version the same way I do with the mcmod.info file. I put the ${version} token in the README and included it in the build script after mcmod.info, but even though the replacement worked on mcmod, the README still says ${version}. Can someone tell me what I'm doing wrong here? README.txt : https://github.com/Renkin42/Renkin42SWT/blob/master/src/main/resources/README.txt build.gradle: https://github.com/Renkin42/Renkin42SWT/blob/master/build.gradle
August 23, 201411 yr Author Okay, I got it fixed. I just needed to exclude README.txt where I excluded mcmod.info and then run gradle clean build. Thank you IRC!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.