Fix build error

This commit is contained in:
Christian Beikov 2022-11-28 09:09:03 +01:00
parent 4b2492cf30
commit 7f0300d415
1 changed files with 2 additions and 2 deletions

View File

@ -69,8 +69,8 @@ ext {
nexusPublishing {
repositories {
sonatype {
username = project.property( 'hibernatePublishUsername' )
password = project.property( 'hibernatePublishPassword' )
username = project.hasProperty( 'hibernatePublishUsername' ) ? project.property( 'hibernatePublishUsername' ) : null
password = project.hasProperty( 'hibernatePublishPassword' ) ? project.property( 'hibernatePublishPassword' ) : null
}
}
}