Skip to content

Commit

Permalink
property check
Browse files Browse the repository at this point in the history
  • Loading branch information
sourada-e5 committed Nov 18, 2024
1 parent 12d3dfd commit 8a6c826
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ nexusPublishing {
sonatype {
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
username = project.ossrhUsername
password = project.ossrhPassword
username = project.hasProperty("ossrhUsername") ? project.ossrhUsername : ""
password = project.hasProperty("ossrhPassword") ? project.ossrhPassword : ""
}
}
}
Expand Down

0 comments on commit 8a6c826

Please sign in to comment.