This is a collection of libraries which intend to be small helpers/utils. To read more about the nytta helpers visit the different readme files of the modules:
All modules are written in kotlin and released together. This means that if in one module a change occurrs then all other modules will be released with the same version (usually there are at least dependency upgrades in all modules).
All artifacts are hosted on the maven central repository but if you want to include snapshot releases you have to directly include the sonatype snapshot repository:
maven {
url "https://oss.sonatype.org/content/repositories/snapshots/"
}
If you want to deploy the artifact to the sonatype repository you need appropriate permissions and you have to execute the following command in the root folder.
./mvnw clean deploy
For releases you have to proceed the following steps:
# set version to new target version
./mvnw versions:set -DnewVersion=4.0.0
# git add and commit push to git repo
# tag version
git ci -am "Release to Version 4.0.0"
git tag -a "4.0.0" -m "Release 4.0.0"
./mvnw clean deploy -P release
# set to next version
./mvnw versions:set -DnewVersion=4.0.1-SNAPSHOT
git ci -am "Setting Version to 4.0.1-SNAPSHOT"
git push
git push --tags