Skip to content

Commit 7aa8ff4

Browse files
committed
fix: point Sonatype publishing to Central staging API
1 parent b4066ba commit 7aa8ff4

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

build.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ publishing {
102102

103103
nexusPublishing {
104104
repositories {
105-
sonatype()
105+
sonatype {
106+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
107+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
108+
}
106109
}
107110
}

0 commit comments

Comments
 (0)