Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Update plublish process to publish to sonatype #1

Merged
merged 1 commit into from
Feb 24, 2021

Conversation

Larusso
Copy link
Member

@Larusso Larusso commented Feb 16, 2021

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

  • UPDATE build.gradle to publish to OSSRH instead of bintray
  • UPDATE gradle wrapper to version 6.8.2
  • UPDATE Jenkinsfile to pass new credentials and publish snapshot versions

@Larusso Larusso force-pushed the update/publish_to_sonatype branch 17 times, most recently from 9995fde to 9976f84 Compare February 23, 2021 15:37
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
=======

* ![UPDATE] `build.gradle` to publish to OSSRH instead of bintray
* ![UPDATE] gradle wrapper to version `6.8.2`
* ![UDDATE] `Jenkinsfile` to pass new credentials and publish snapshot versions
@Larusso Larusso force-pushed the update/publish_to_sonatype branch from 9976f84 to 79c8a56 Compare February 23, 2021 20:15
@Larusso Larusso marked this pull request as ready for review February 24, 2021 19:54
@Larusso Larusso merged commit f1316c2 into master Feb 24, 2021
@Larusso Larusso deleted the update/publish_to_sonatype branch February 24, 2021 19:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant