Skip to content

Updating & releasing Horologist

This doc is mostly for maintainers.

Ensure your Maven Central credentials are set in ~/.gradle/gradle.properties. Follow https://vanniktech.github.io/gradle-maven-publish-plugin/central/#secrets

mavenCentralUsername=username
mavenCentralPassword=the_password

signing.keyId=12345678
signing.password=some_password
signing.secretKeyRingFile=/Users/yourusername/.gnupg/secring.gpg

Publish the artifacts to staging.

./gradlew publishToMavenCentral

The deployment then needs to be manually released via the Central Portal.

Snapshot release

For a snapshot release, change the version of VERSION_NAME property in gradle.properties to end with -SNAPSHOT e.g. 0.8.0-SNAPSHOT.

./gradlew publishToMavenCentral