Skip to content

Commit 17ee900

Browse files
committed
Update Gradle Nexus Publish Plugin endpoints
1 parent 4af9a98 commit 17ee900

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

build.gradle.kts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ plugins {
1010

1111
nexusPublishing {
1212
repositories {
13-
sonatype()
13+
sonatype {
14+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
15+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
16+
username.set(System.getenv("NEXUS_USERNAME"))
17+
password.set(System.getenv("NEXUS_PASSWORD"))
18+
}
1419
}
1520
}
1621

0 commit comments

Comments
 (0)