Skip to content

Commit 54d5816

Browse files
authored
Improve robustness of build
1 parent 467ee55 commit 54d5816

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ version = '1.2.8-SNAPSHOT'
2525
description = 'A Java library to access KeePassXC via its build-in proxy.'
2626
java.sourceCompatibility = JavaVersion.VERSION_17
2727

28-
def sonatypeUsername = System.getenv("SONATYPE_USERNAME")
29-
def sonatypePassword = System.getenv("SONATYPE_PASSWORD")
28+
def sonatypeUsername = System.getenv("SONATYPE_USERNAME") ?: ''
29+
def sonatypePassword = System.getenv("SONATYPE_PASSWORD") ?: ''
3030

3131
java {
3232
withSourcesJar()

0 commit comments

Comments
 (0)