diff --git a/README.md b/README.md index cf71f5ecb..9a17799a0 100644 --- a/README.md +++ b/README.md @@ -26,12 +26,12 @@ dependencies { } ``` -### Gradle Setup with Sonartype [snapshot] +### Gradle Setup with Maven Central [snapshot] -Currently only from Sonartype snapshot staging is provided +Currently only from Maven Central snapshot staging is provided ```gradle repositories { - maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' } + maven { url 'https://central.sonatype.com/api/v1/publisher/deployments/download/' } } dependencies { diff --git a/chartLib/build.gradle.kts b/chartLib/build.gradle.kts index 9b71039ae..55040b94a 100644 --- a/chartLib/build.gradle.kts +++ b/chartLib/build.gradle.kts @@ -5,7 +5,7 @@ plugins { id("com.android.library") id("maven-publish") id("kotlin-android") - id("com.vanniktech.maven.publish") version "0.34.0" + id("com.vanniktech.maven.publish") version "0.36.0" } android { diff --git a/gradle.properties b/gradle.properties index bfc84f04c..8b268c822 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,9 +2,8 @@ android.enableJetifier=false android.useAndroidX=true org.gradle.jvmargs=-Xmx4092M -#SONATYPE_HOST=DEFAULT -# or when publishing to https://s01.oss.sonatype.org -SONATYPE_HOST=S01 +# OSSRH was shut down on June 30, 2025. Using CENTRAL_PORTAL instead. +SONATYPE_HOST=CENTRAL_PORTAL RELEASE_SIGNING_ENABLED=true POM_ARTIFACT_ID=chart android.nonTransitiveRClass=false