Skip to content

Commit

Permalink
fix build in pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
keilhofh committed Sep 26, 2024
1 parent d6f77e0 commit 6099e4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gradle/publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ publishing {
repositories {
maven {
credentials {
username = project.property("ossrhToken")
password = project.property("ossrhTokenPassword")
username = project.property("ossrhToken") ? project.property('ossrhToken') : null
password = project.property("ossrhTokenPassword") ? project.property('ossrhTokenPassword') : null
}
url = project.version.endsWith('-SNAPSHOT') ?
'https://s01.oss.sonatype.org/content/repositories/snapshots' :
Expand Down

0 comments on commit 6099e4f

Please sign in to comment.