Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup workflow to upload to Maven central #49

Merged
merged 12 commits into from
Feb 29, 2024

Conversation

darwin67
Copy link
Contributor

@darwin67 darwin67 commented Feb 29, 2024

Update the SDK core's build.gradle.kts to publish to a local Maven repo (which is just basically a file path), and bundle that to send it over to Maven Central's publisher API.

The new Maven Central don't have integration with gradle atm, so unfortunately, we'll just have to automate it in a way simulating a manual upload.
https://central.sonatype.org/publish/publish-portal-api/

The Release github workflow is set to trigger when there are changes made to each project's VERSION file. Which assumes that we'll want to publish a new version.

@darwin67 darwin67 marked this pull request as ready for review February 29, 2024 22:44
@darwin67 darwin67 changed the title Setup gradle to upload to Maven central Setup workflow to upload to Maven central Feb 29, 2024
@darwin67 darwin67 merged commit 08b137c into main Feb 29, 2024
11 checks passed
@darwin67 darwin67 deleted the darwin/maven-central-publish branch February 29, 2024 22:49
darwin67 added a commit that referenced this pull request Feb 29, 2024
Update the SDK core's `build.gradle.kts` to publish to a local Maven repo (which is just basically a file path), and bundle that to send it over to Maven Central's publisher API.

The new Maven Central don't have integration with gradle atm, so unfortunately, we'll just have to automate it in a way simulating a manual upload.
https://central.sonatype.org/publish/publish-portal-api/

The `Release` github workflow is set to trigger when there are changes made to each project's `VERSION` file. Which assumes that we'll want to publish a new version.

---------
Co-authored-by: Darwin D Wu <[email protected]>
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