I've set up GitHub actions to automatically release this library when we add a "vX.Y.Z" tag. To release automatically:
- Change the version in
build.gradle.kts
to a non-SNAPSHOT version. git commit -am "Release X.Y.Z"
(where X.Y.Z is the new version)git tag -a vX.Y.Z -m "Version X.Y.Z"
(where X.Y.Z is the new version)- Update the
build.gradle
to the next SNAPSHOT version. (Bump the patch version by 1, usually.) git commit -am "Prepare for development of P.Q.R"
git push && git push --tags
- Download the artifact from the GitHub releases page after pushing the new tag.
- Unzip and run your distribution.
Or, if not using github's releases do this between steps 3 and 4:
./gradlew assemble
- Copy zip in
/build/distribution
to desired location.