Apktool icon indicating copy to clipboard operation
Apktool copied to clipboard

Migrate to non-deprecated Sonatype.

Open iBotPeaches opened this issue 6 months ago • 4 comments

https://central.sonatype.org/pages/ossrh-eol/#process-to-migrate

Workarounds

curl -H "Authorization: Bearer  \
  https://ossrh-staging-api.central.sonatype.com/manual/search/repositories?ip=any

curl -v -X POST \
  -H "Authorization: Bearer " \
  "https://ossrh-staging-api.central.sonatype.com/manual/upload/repository/SupgY33a/47.199.246.162/org.apktool--default-repository"

iBotPeaches avatar Jul 06 '25 10:07 iBotPeaches

My guide was dumb. Upload then do this

➜  Desktop curl -X POST -H "Authorization: Bearer {token}" https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/org.apktool -v

Make token via the User Token in Sonatype

iBotPeaches avatar Sep 18 '25 01:09 iBotPeaches

This looks like the path to go - https://jreleaser.org/guide/latest/examples/maven/maven-central.html#_portal_publisher_api

iBotPeaches avatar Sep 23 '25 10:09 iBotPeaches

I'm not sure if this meet the requirements. I use vanniktech gradle-maven-publish-plugin, and Kotlin multiplatform-library-template use it too.

sipsuru avatar Oct 03 '25 11:10 sipsuru

@sipsuru - thanks! That does look like a solid plugin with large adoption. I may try that one out.

iBotPeaches avatar Nov 03 '25 11:11 iBotPeaches