File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
convention-plugins/src/main/kotlin Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1+ import gradle.kotlin.dsl.accessors._cf23dfd706c1bf9cda1f64fe1da16a33.nexusPublishing
2+
13plugins {
24 id(" io.github.gradle-nexus.publish-plugin" )
35}
@@ -8,12 +10,15 @@ allprojects {
810}
911
1012nexusPublishing {
13+ repositories {
14+ sonatype()
15+ }
1116 // Configure maven central repository
12- // https://github.com/gradle-nexus/publish-plugin#publishing-to-maven-central-via-sonatype-ossrh
1317 repositories {
18+ // see https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
1419 sonatype {
15- nexusUrl.set(uri(" https://s01.oss .sonatype.org /service/local/" ))
16- snapshotRepositoryUrl.set(uri(" https://s01.oss. sonatype.org/content/repositories/ snapshots/" ))
20+ nexusUrl.set(uri(" https://ossrh-staging-api.central .sonatype.com /service/local/" ))
21+ snapshotRepositoryUrl.set(uri(" https://central. sonatype.com/repository/maven- snapshots/" ))
1722 stagingProfileId.set(System .getenv(" OSSRH_STAGING_PROFILE_ID" ))
1823 username.set(System .getenv(" OSSRH_USERNAME" ))
1924 password.set(System .getenv(" OSSRH_PASSWORD" ))
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ androidx-activityCompose = "1.9.2"
99androidx-core-ktx = " 1.13.1"
1010voyager = " 1.1.0-beta02"
1111spotless = " 6.25.0"
12- nexus-publish = " 2.0.0-rc-1 "
12+ nexus-publish = " 2.0.0"
1313
1414[libraries ]
1515spotless-gradle = { module = " com.diffplug.spotless:spotless-plugin-gradle" , version.ref = " spotless" }
You can’t perform that action at this time.
0 commit comments