Skip to content

Commit 631d96d

Browse files
Publish to central.sonatype.com (#2639)
* Publish to central.sonatype.com See [Sonatype documentation](https://central.sonatype.org/faq/what-is-different-between-central-portal-and-legacy-ossrh/) for more details on the differences. The current publishing method (OSSRH) is being sunset on June 30th, 2025. New users can no longer be onboarded to the Nexus Repository Manager, which means they must use the newer Central Portal to publish. See [plugin documentation](https://vanniktech.github.io/gradle-maven-publish-plugin/central/#configuring-maven-central) for more details. This will require developers to generate new tokens on Sonatype, as the old OSSRH tokens will no longer work. * Enable automatic releases This means the person triggering the publish does not need to manually release the staging repository. See https://vanniktech.github.io/gradle-maven-publish-plugin/central/#automatic-release
1 parent b00bf80 commit 631d96d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lottie-compose/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ android {
3636
}
3737

3838
mavenPublishing {
39-
publishToMavenCentral(SonatypeHost.DEFAULT)
39+
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
4040
signAllPublications()
4141
}
4242

lottie/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ android {
3030
}
3131

3232
mavenPublishing {
33-
publishToMavenCentral(SonatypeHost.DEFAULT)
33+
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL, true)
3434
signAllPublications()
3535
}
3636

versions.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ plugin.org.ajoberstar.grgit=5.2.0
364364
## # available=5.2.2-rc.2
365365
## # available=5.2.2
366366

367-
plugin.com.vanniktech.maven.publish=0.25.2
367+
plugin.com.vanniktech.maven.publish=0.32.0
368368
## # available=0.25.3-rc1
369369
## # available=0.25.3
370370
## # available=0.26.0-rc1

0 commit comments

Comments
 (0)