Skip to content

Commit 52e1cb6

Browse files
committed
Fix publishing.
1 parent 34d7591 commit 52e1cb6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

build.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,8 @@ sourceSets.main.resources.srcDir "${swaggerSources.typesense.code.outputDir}/src
143143
nexusPublishing {
144144
repositories {
145145
sonatype {
146-
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
147-
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
148-
username = findProperty("ossrhToken") as String
149-
password = findProperty("ossrhTokenPassword") as String
146+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
147+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
150148
}
151149
}
152150
}

0 commit comments

Comments
 (0)