Core functionaries used across other MicroDocs Java projects
$ gradle jar
- Create a sonatype account and create an issue to request access to com.maxxton
- Install GnuPG NOTE: at least version 2.1!
- Generate key pair by running:
$ gpg --full-generate-key
choose RSA 2048bit with no expiration. Your key is saved in ~/.gnupg 4. Run this to update your secring.gpg:
$ gpg --keyring secring.gpg --export-secret-keys > ~/.gnupg/secring.gpg
- Create
gradle.propertiesin the gradle home folder (~/.gradle) ~/.gradle/gradle.properties
signing.keyId=publickeyid
signing.password=yourpassword
signing.secretKeyRingFile=C:\\Users\\username\\.gnupg\\secring.gpg
sonatypeUsername=username
sonatypePassword=password
Fill in these properties correctly. Use 'gpg --list-secret-keys --keyid-format 0xshort' to get your keyId
- Publish
$ gradle uploadArchives
And follow the release and deployment manual Check this link for more info on the signing plugin