Skip to content

Commit

Permalink
build: fixup deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMrMilchmann committed May 1, 2021
1 parent 85be48e commit 9279e65
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions buildSrc/src/main/kotlin/com/osmerion/quitte/build/tools.kt
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ val Project.deployment: Deployment
(when {
hasProperty("release") -> Deployment(
BuildType.RELEASE,
"https://s01.oss.sonatype.org",
getProperty("sonatypeUsername"),
getProperty("sonatypePassword")
"https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/",
getProperty("osmerionSonatypeUsername"),
getProperty("osmerionSonatypePassword")
)
hasProperty("snapshot") -> Deployment(
BuildType.SNAPSHOT,
"https://s01.oss.sonatype.org",
getProperty("sonatypeUsername"),
getProperty("sonatypePassword")
"https://s01.oss.sonatype.org/content/repositories/snapshots/",
getProperty("osmerionSonatypeUsername"),
getProperty("osmerionSonatypePassword")
)
else -> Deployment(BuildType.LOCAL, repositories.mavenLocal().url.toString())
}).also { extra[DEPLOYMENT_KEY] = it }
Expand Down

0 comments on commit 9279e65

Please sign in to comment.