Skip to content

Commit

Permalink
chore: update build file
Browse files Browse the repository at this point in the history
  • Loading branch information
mohnoor94 committed Sep 12, 2024
1 parent 2cca962 commit a5f5f09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,11 @@ publishing {
if (project.version.contains("SNAPSHOT")) {
name = "oss-sonatype-snapshots"
url = uri("https://oss.sonatype.org/content/repositories/snapshots")
println("Publishing to Sonatype Snapshots")
} else {
name = "oss-sonatype-releases"
url = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
println("Publishing to Sonatype Releases")
}
credentials {
username = System.getenv("SONATYPE_USERNAME") ?: findProperty('ARTIFACTORY_USER')
Expand Down

0 comments on commit a5f5f09

Please sign in to comment.