Skip to content

Commit b968677

Browse files
committed
Update file
1 parent c42830f commit b968677

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
@@ -222,8 +222,8 @@ jreleaser {
222222
active = 'RELEASE'
223223
url = 'https://central.sonatype.com/api/v1/publisher'
224224
stagingRepository('build/staging-deploy')
225-
username = centralUsername
226-
password = centralPassword
225+
username = project.hasProperty("centralUsername") ? project.property("centralUsername") : centralUsername
226+
password = project.hasProperty("centralPassword") ? project.property("centralPassword") : centralPassword
227227
}
228228
}
229229

0 commit comments

Comments
 (0)