Fix build error

This commit is contained in:
Christian Beikov 2022-11-28 09:09:03 +01:00
parent 6bba6d073b
commit d9bceb3a80
1 changed files with 2 additions and 2 deletions

View File

@ -70,8 +70,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
}
}
}