We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c42830f commit b968677Copy full SHA for b968677
build.gradle
@@ -222,8 +222,8 @@ jreleaser {
222
active = 'RELEASE'
223
url = 'https://central.sonatype.com/api/v1/publisher'
224
stagingRepository('build/staging-deploy')
225
- username = centralUsername
226
- password = centralPassword
+ username = project.hasProperty("centralUsername") ? project.property("centralUsername") : centralUsername
+ password = project.hasProperty("centralPassword") ? project.property("centralPassword") : centralPassword
227
}
228
229
0 commit comments