Skip to content

Commit 6fd6b8b

Browse files
committed
fix: inverted urls
1 parent e8a1f54 commit 6fd6b8b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

build-logic/conventions/src/main/kotlin/Publish.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ fun Project.configureMavenPublish() {
5353
name = "OSSRH"
5454
url = uri(
5555
if (isReleaseVersion)
56-
"https://central.sonatype.com/repository/maven-snapshots/"
57-
else
5856
"https://ossrh-staging-api.central.sonatype.com/service/local/"
57+
else
58+
"https://central.sonatype.com/repository/maven-snapshots/"
5959
)
6060
credentials {
6161
username = findProperty("ossrh.username") as String? ?: System.getenv("OSSRH_USERNAME")

0 commit comments

Comments
 (0)