Skip to content

Commit 6a02e9f

Browse files
committed
chore: using maven central URL
1 parent 47d9503 commit 6a02e9f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

build-logic/convention/src/main/kotlin/PublishingConventionPlugin.kt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,7 @@ class PublishingConventionPlugin : Plugin<Project> {
8888
}
8989
repositories {
9090
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
91+
url = uri("https://central.sonatype.com/repository/maven-snapshots/")
9692
credentials {
9793
username = project.findProperty("sonatypeToken") as String?
9894
password = project.findProperty("sonatypeTokenPassword") as String?

0 commit comments

Comments
 (0)