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

Move to Maven #35

Open
3 of 4 tasks
winsmith opened this issue Jul 30, 2024 · 3 comments
Open
3 of 4 tasks

Move to Maven #35

winsmith opened this issue Jul 30, 2024 · 3 comments
Assignees

Comments

@winsmith
Copy link
Contributor

winsmith commented Jul 30, 2024

Since we're continuing to have problems with Jitpack, we're going to move to Maven Central

  • Create account on central.sonatype.com
  • Create Namespace
  • Create Deployment
  • Automatically update deployment using the publisher API
@winsmith winsmith self-assigned this Jul 30, 2024
@winsmith
Copy link
Contributor Author

Hi @kkostov I need your help. I have created an account on central.sonatype.com and I've created a namespace. Next up I wanted to register a package for the KotlinSDK, which takes a Zip file but I'm unsure because the ZIP file from our releases look very different in folder structure to the one described in their docs.

Questions for you

  1. Can I just upload the file as is, and should it just work?
  2. Is there a way to invite you as a collaborator without sharing a password?
  3. It'd be nice to push new versions automatically using the package api -- does anything speak against that?

@kkostov
Copy link
Collaborator

kkostov commented Aug 1, 2024

Hey Daniel,

I've slacked you a zip of a release based on changes from https://github.com/TelemetryDeck/KotlinSDK/pull/36/files - you should be able to upload it from the web interface. It's the same version as the current release on JitPack - 2.2.0.

Meanwhile, I will add a GitHub action that can release new versions.

@kkostov
Copy link
Collaborator

kkostov commented Sep 12, 2024

@winsmith to complete this issue, could you please add the environment variables I had you as secrets to the repository? The list is as follows:

  • ORG_GRADLE_PROJECT_mavenCentralUsername
  • ORG_GRADLE_PROJECT_mavenCentralPassword
  • ORG_GRADLE_PROJECT_signingInMemoryKey
  • ORG_GRADLE_PROJECT_signingInMemoryKeyId
  • ORG_GRADLE_PROJECT_signingInMemoryKeyPassword

This is based on https://vanniktech.github.io/gradle-maven-publish-plugin/central/#__tabbed_5_2

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

No branches or pull requests

2 participants