TelemetryDeck / KotlinSDK

Kotlin SDK for TelemetryDeck, a privacy-conscious analytics service for apps and websites.
Other
7 stars 6 forks source link

Move to Maven #35

Open winsmith opened 3 months ago

winsmith commented 3 months ago

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

winsmith commented 3 months ago

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 commented 3 months ago

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 commented 1 month ago

@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:

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