You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-60Lines changed: 9 additions & 60 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,11 @@ public class SendGridExample {
28
28
}
29
29
}
30
30
```
31
-
Compile and run this example with `javac -classpath sendgrid-1.2.0-jar.jar:. SendGridExample.java && java -classpath sendgrid-1.2.0-jar.jar:. SendGridExample`
Edit that file and set your `sonatypeUsername` and sonatypePassword`. You also need to set the values for your keys. Here's how to list/create them. [1](http://central.sonatype.org/pages/working-with-pgp-signatures.html).
259
-
260
-
```
261
-
gpg --list-keys
262
-
gpg --gen-key
263
-
```
264
-
265
-
Set the signing.KeyId, signing.password, and the signing.secretKeyRingFile.
266
-
267
-
The signing.KeyId is the 'pub' one. It's the part of your list of keys that looks something like this: `2048R/5D64A177`. So in this scenario it would be `5D64A177`. [1](http://www.gradle.org/docs/current/userguide/signing_plugin.html)[2](http://yennicktrevels.com/blog/2013/10/11/automated-gradle-project-deployment-to-sonatype-oss-repository/)
268
-
269
-
The signing.password is the password you used when generating this key. It could be blank if you didn't use a password.
270
-
271
-
The signing.secretKeyRingFile is the path to the secring.gpg.
Edit that file and set your `sonatypeUsername` and sonatypePassword`. You also need to set the values for your keys. Here's how to list/create them. [1](http://central.sonatype.org/pages/working-with-pgp-signatures.html).
12
+
13
+
```
14
+
gpg --list-keys
15
+
gpg --gen-key
16
+
```
17
+
18
+
Set the signing.KeyId, signing.password, and the signing.secretKeyRingFile.
19
+
20
+
The signing.KeyId is the 'pub' one. It's the part of your list of keys that looks something like this: `2048R/5D64A177`. So in this scenario it would be `5D64A177`. [1](http://www.gradle.org/docs/current/userguide/signing_plugin.html)[2](http://yennicktrevels.com/blog/2013/10/11/automated-gradle-project-deployment-to-sonatype-oss-repository/)
21
+
22
+
The signing.password is the password you used when generating this key. It could be blank if you didn't use a password.
23
+
24
+
The signing.secretKeyRingFile is the path to the secring.gpg.
0 commit comments