Development
Table of contents
Requirements
OpenJDK 21
jq - Install jq
Git cliff - Install git cliff
Make
Gradle 8.5 (wrapper is recommended)
Test
For test the project you should run this command
Creating the Changelog
Before creating the CHANGELOG.md you should ensure you are using conventional commits.
You should create the tags following semantic versioning.
Create the first version tag.
Create the CHANGELOG.md file.
Alternatively you can use the action first-verion from the Makefile for create the first version.
When you have new commits for the new version you should calculate the new version before create the tag.
Calculate the new version and create the tag.
Update the CHANGELOG.md.
You can generate the changelog only for the current version.
Alternatively you can use the action bump-verion from the Makefile for bump the version including updating the CHANGELOG.md
Publish artifacts
⚠️ CAUTION ⚠️
The artifacts should be published only by the owner of the repository.
Before publish you need to create the gradle.properties file on the .gradle directory on your home directory and create the GPG keys.
Create the GPG keys.
Get the GPG key id.
Upload the keys to the ubuntu keyserver.
Export the secret keys to a keyring on your home directory.
Edit or create the gradle.properties file with your favorite text editor.
And put the following content at the end of the file.
If you want to publish a gradle plugin you need to append the following content. You may find your keys on the user page of the Gradle Plugin Portal
Publish to Sona Type (Maven central)
Publish to Maven local
Last updated