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
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
2ae80f5
Add revision to jar manifest and load in code
Rinn f4dc736
Override revision in tests
Rinn fb7f02b
Remove RELEASED
Rinn de3b925
Enable releases
Rinn c05abe9
move to StaticEntity, add build info
Rinn 6656b77
Fix tests for revision numbers
gausie a7ead23
Change product name to CONSTANT_CASE
gausie 50ae23d
Capitalize getBuildInfo properly
gausie 0f833ca
We only have one MANIFEST file
gausie ab32bf1
Use r0 instead of rUnknown, make r0 pass all `since` checks
gausie d7ec072
Remove another manifest loop
gausie 9392e66
Change Modified classifier back to M
gausie bb72ee7
Use system-agnostic File constructor on gradle
gausie 6e3d2e2
Added shadow plugin
BadHorseMonkey 32160e9
Fix version numbers - we have to use shadowJar
gausie 0d5892a
Final tidy-up
gausie 056bb64
Do not run the PR tests twice
gausie File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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.)There was a problem hiding this comment.
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]