This is an opinionated step-by-step guide on how to publish a Kotlin/Java library with Gradle to Maven Central repository. It assumes that: the project is built with Gradle (look at Maciej Guide if you want to do it with Maven) the project code is hosted on GitHub and GitHub Actions are used to trigger the release It uses JReleaser - I believe this is the simplest and the most straightforward way of signing and uploading artifacts.