This repository was archived by the owner on Dec 5, 2024. It is now read-only.
Update plublish process to publish to sonatype #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Bintray and with it JCenter will be shutdown the comming weeks. To be able to host this library in a commenly available repository we need to switch the publish logic to publish to sonatype and with it the central repository. This needs some adjustments in both gradle file and jenkins pipeline.
I took the liberty to upgrade the project to use the latest version of gradle
6.8.2
as this has some features regarding pgp signing which gradle 5 does not have. I want to sign the artifacts with a gpg subkey to not roll out the master key on the ci system with a ascii in memory format which is not supported with gradle 5.The jenkins steps also need to fetch new credentials.
Changes
build.gradle
to publish to OSSRH instead of bintray6.8.2
Jenkinsfile
to pass new credentials and publish snapshot versions