PUBLISHING.md
The library is published to Maven Central by the firebase-sonatype account, Googlers can find the password for this account in Valentine
You will need to create a private GPG keyring on your machine, if you don't have one do the following steps:
gpg --full-generate-keyRSA and RSA for the key type4096 for the key size0 for the expiration (never)This creates your key in ~/.gnupg/openpgp-revocs.d/ with .rev format. The last 8 characters
before the .rev extension are your Key ID.
To export the key, run:
gpg --export-secret-keys -o $HOME/sonatype.gpg
Finally upload your key to the keyserver:
gpg --keyserver hkp://keys.openpgp.org --send-keys <YOUR KEY ID>
Open your $HOME/.gradle/gradle.properties file at and fill in the values:
signing.keyId=<KEY ID>
signing.password=<PASSWORD YOU CHOSE>
signing.secretKeyRingFile=<FULL PATH TO YOUR GPG FILE>
mavenCentralRepositoryUsername=firebase-sonatype
mavenCentralRepositoryUsername=<PASSWORD FROM VALENTINE>
To publish, run:
./gradlew publish
Follow the instructions here:
com.firebase repo