Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set revision when building jar with gradle #17

Merged
merged 17 commits into from Sep 26, 2021
Merged
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -121,7 +121,7 @@ jar {
duplicatesStrategy = 'exclude'
destinationDirectory = file('dist/')
archiveBaseName = "KoLmafia"
classifier = "${versioning.info.dirty ? 'Modified' : ''}"
classifier = "${versioning.info.dirty ? 'M' : ''}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Note this is subtly different from what we have today with ant daily, namely we'll now have "KoLmafia-r12345-M.jar" instead of "KoLmafia-r12345M.jar". I don't think this is a meaningful difference.)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah me and @BadHorseMonkey noticed this and thought that it might be alright given it allows you to split by - and grab [1]

}

task download(type: Copy) {
Expand Down