Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.16 KB

DEPLOY.md

File metadata and controls

29 lines (20 loc) · 1.16 KB

Keen Java Clients - Deployment

Instructions

  1. Ensure that ./gradlew clean build completes with no errors.

  2. If you don't already have them, create a Sonatype user account and GPG signing key

  3. Create a gradle.properties file containing your signing key-ring location and ID and yoursonatype username and password. For example:

    > cat /home/myusername/.gradle/gradle.properties
    signing.keyId=BAADF00D
    signing.secretKeyRingFile=/home/myusername/.gnupg/secring.gpg
    sonatypeUsername=myusername
    sonatypePassword=p455w0rd
    
  4. Run ./gradlew uploadArchives

  5. When prompted, enter the passphrase for your GPG key

This should upload your archives to the Sonatype repository.

TODO

  • Add detailed instructions for deploying SNAPSHOT vs. release builds.

Keep This Document Alive!

If you run into any issues following these instructions, please update this document with clarifications or workarounds.