Skip to content

Commit

Permalink
fix release repo url
Browse files Browse the repository at this point in the history
  • Loading branch information
jumaallan committed Jun 20, 2022
1 parent 8a8f7c7 commit 3dc16b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions daraja/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@ afterEvaluate {
val isReleaseBuild = !get("POM_VERSION_NAME").contains("SNAPSHOT")
val releaseRepoUrl = get(
"RELEASE_REPOSITORY_URL",
"https://oss.sonatype.org/service/local/staging/deploy/maven2/"
"https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
)
val snapshotRepoUrl = get(
"SNAPSHOT_REPOSITORY_URL",
"https://oss.sonatype.org/content/repositories/snapshots/"
"https://s01.oss.sonatype.org/content/repositories/snapshots/"
)
return uri(if (isReleaseBuild) releaseRepoUrl else snapshotRepoUrl)
}
Expand Down

0 comments on commit 3dc16b5

Please sign in to comment.