Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add custom publishing target to publish to Maven Central#997

Open
ckilian867 wants to merge 1 commit intomasterfrom
cjk/custom-publish
Open

Add custom publishing target to publish to Maven Central#997
ckilian867 wants to merge 1 commit intomasterfrom
cjk/custom-publish

Conversation

@ckilian867
Copy link
Collaborator

With the sunsetting of OSSRH, the current version of gradle-maven-publish-plugin can no longer successfully publish using gradlew publish. The minimum version of the plugin that can publish to Maven Central requires an upgrade to Gradle 8, which is a large upgrade from the current Gradle 6 and will require upgrades to several other plugins as well.

In order to unblock the ability to publish, we implement a custom publishing task in this commit that uses the same set of credentials to use a POST command to publish to maven central. This will allow publishing of new upgrades of okbuck while other upgrades are being scoped.

Description: Unblocks the ability to publish while other upgrades are being considered

Related issue(s):

With the sunsetting of OSSRH, the current version of `gradle-maven-publish-plugin`
can no longer successfully publish using `gradlew publish`. The minimum version of
the plugin that can publish to Maven Central requires an upgrade to Gradle 8,
which is a large upgrade from the current Gradle 6 and will require upgrades
to several other plugins as well.

In order to unblock the ability to publish, we implement a custom publishing task
in this commit that uses the same set of credentials to use a POST command to
publish to maven central. This will allow publishing of new upgrades of okbuck
while other upgrades are being scoped.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant