Skip to content

quiltdata/quiltcore-java

Repository files navigation

quiltcore-java

Java implementation of the Quilt Packaging API

Testing

./gradlew check || open lib/build/reports/tests/test/index.html

To enable debug logging, set the environment variable LOG4J_DEBUG=true:

LOG4J_DEBUG=true ./gradlew check

Update

./gradlew useLatestVersions ./gradlew check

Publishing

This project is published to Maven Central using SonatypeHost.CENTRAL_PORTAL from the vanniktech.github.io/gradle-maven-publish-plugin.

Setup Publishing

For the publishing to work, you need to:

  1. Get username/password credentials (not a SSO login) to the new Central Portal (not the old Nexus one)
  2. Use that login to generate an API Token username and password
  3. Store them in your ~/.gradle/gradle.properties or ./gradle.properties file:
mavenCentralUsername=api_token_username
mavenCentralPassword=api_token_password_without_wrapper

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

Note this requires you to export to the secring.gpg file from your GPG keychain. You can do this with the following command:

gpg --keyring secring.gpg --export-secret-keys > ~/.gnupg/secring.gpg

Publish Component

To publish a new version, run:

./gradlew publish

This will build the project, run the tests, and publish the new version to Maven Central.

Next, you need to go to the Sonatype Central Portal and log in with your username/password. You will see the new version in under Publishing Settings -> Deployments.

Once it has been "Validated", you need to click "Publish" to make the new version available to the public. It should show up in the Maven Central Repository in five minutes or so.

About

Java implementation of the Quilt API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages