We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47d9503 commit 6a02e9fCopy full SHA for 6a02e9f
build-logic/convention/src/main/kotlin/PublishingConventionPlugin.kt
@@ -88,11 +88,7 @@ class PublishingConventionPlugin : Plugin<Project> {
88
}
89
repositories {
90
maven {
91
- val releasesRepoUrl =
92
- uri("https://central.sonatype.com/repository/maven-snapshots/")
93
- val snapshotsRepoUrl =
94
- uri("https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/")
95
- url = if (project.version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl
+ url = uri("https://central.sonatype.com/repository/maven-snapshots/")
96
credentials {
97
username = project.findProperty("sonatypeToken") as String?
98
password = project.findProperty("sonatypeTokenPassword") as String?
0 commit comments