Updating Maven release notes with a copy from AppleCommander.

This commit is contained in:
Rob Greene 2023-10-28 12:00:24 -05:00
parent 45b57ce675
commit 9d676a5f44

View File

@ -24,26 +24,35 @@ Extract secret key for the Gradle signing plugin:
$ gpg2 --export-secret-keys > secring.gpg $ gpg2 --export-secret-keys > secring.gpg
``` ```
## Build and publish to Central Repository ## Gradle build and publish to Central Repository
> Note that all of this can be run from the main 'applesingle' folder. > NOTE: The build has been updated to allow snapshots to be published. These appear to be automatically available.
Ensure full build passes: Ensure full build passes:
```bash ```bash
$ ./gradlew clean test javadoc assemble ./gradlew clean build
<...lots of stuff, primarily Javadoc issues...>
BUILD SUCCESSFUL in 3s BUILD SUCCESSFUL in 8s
13 actionable tasks: 13 executed 91 actionable tasks: 91 executed
``` ```
Upload: Publish:
```bash ```bash
$ ./gradlew uploadArchives $ ./gradlew publish
BUILD SUCCESSFUL in 10s BUILD SUCCESSFUL in 8s
10 actionable tasks: 1 executed, 9 up-to-date 2 actionable tasks: 2 executed
```
The can also be combined:
```bash
$ ./gradlew clean build publish
BUILD SUCCESSFUL in 16s
93 actionable tasks: 93 executed
``` ```
Then follow "releasing the deployment" below. Then follow "releasing the deployment" below.
@ -54,6 +63,7 @@ Just a reminder!
# References # References
* http://central.sonatype.org/pages/gradle.html * http://central.sonatype.org/pages/gradle.html (NOTE: Documentation is out of date)
* http://central.sonatype.org/pages/releasing-the-deployment.html * http://central.sonatype.org/pages/releasing-the-deployment.html
* For all the other little pieces, Google is your friend. ;-) * https://docs.gradle.org/current/userguide/publishing_maven.html
* For all the other little pieces, Google is your friend. ;-)