File tree 2 files changed +34
-2
lines changed
2 files changed +34
-2
lines changed Original file line number Diff line number Diff line change
1
+ ## How to release
2
+
3
+ Use username/password of sonatype https://s01.oss.sonatype.org/
4
+
5
+ ``` shell
6
+ MAVEN_USERNAME={} MAVEN_PASSWORD={} ./gradlew build publish
7
+ ```
8
+
9
+ ## Generate gpg key
10
+
11
+ Generate gpg key with name and email
12
+
13
+ ``` shell
14
+ gpg --gen-key
15
+ ```
16
+
17
+ Export keyring
18
+
19
+ ``` shell
20
+ gpg --keyring secring.gpg --export-secret-keys > ~ /.gnupg/secring.gpg
21
+ ```
22
+
23
+ ## Gradle properties
24
+
25
+ Gradle properties should looks something like
26
+
27
+ ``` shell
28
+ $ cat ~ /.gradle/gradle.properties
29
+
30
+ signing.keyId=5DBFACD8
31
+ signing.password={passphrase}
32
+ signing.secretKeyRingFile=//Users/jsalinas/.gnupg/secring.gpg
33
+ ```
34
+
Original file line number Diff line number Diff line change @@ -93,6 +93,4 @@ subprojects {
93
93
signing {
94
94
sign publishing.publications.MyPublication
95
95
}
96
-
97
96
}
98
-
You can’t perform that action at this time.
0 commit comments