Posted February 20, 201510 yr Hey everyone! I was wanting to setup a system to automatically jump the dev build every time I run the build script. Here is something I found off google. http://bit.ly/1AqhWFM The only problem is that it is only for windows. Does anyone know what i'd need to convert it to Mac or if it will work without the build.bat file?
February 20, 201510 yr Author Gradle scripts are just groovy programs. And (almost) any valid java program is groovy, too. So you can just program direcltly inside your build script. Read a file, parse it as a number, increment it, write it back. So technically I don't need the build.bat file?
October 18, 201510 yr Author Could you post your actual solution? You can find it by looking through the build.gradle script and config.xml here: https://github.com/KaminoCoding/CommuMod
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.