File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed
Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -4,5 +4,26 @@ Deploying
44To deploy to Maven use
55
66```
7- gradlew uploadArchives -PcredentialsPassphrase=<password>
7+ gradlew uploadArchives -PcredentialsPassphrase=<credentials password>
8+ ```
9+
10+ Where ` <credentials password> ` is the password used to add the credentials (see
11+ also below).
12+
13+ To be able to deploy, you need the following:
14+
15+ a ` <homedir>/.gradle/gradle.properties ` with the following properties:
16+
17+ ```
18+ signing.keyId=<gpg key id>
19+ signing.secretKeyRingFile=<path to your secring.gpg>
20+
21+ ossrhUsername=<sonatype OSSRH username>
22+ ```
23+
24+ In addition, you need to set the following credentials
25+
26+ ```
27+ ./gradlew addCredentials --key signing.password --value <your secret key password> -PcredentialsPassphrase=<credentials password>
28+ ./gradlew addCredentials --key ossrhPassword --value <your sonatyp OSSRH password> -PcredentialsPassphrase=<credentials password>
829```
Original file line number Diff line number Diff line change 1+ # Default value so the build script doesn't break
2+ ossrhUsername =don't break the build
You can’t perform that action at this time.
0 commit comments