File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -210,6 +210,8 @@ signing {
210210 sign publishing. publications. boxJavaSdk
211211}
212212
213+ def centralUsername = project. findProperty(" centralUsername" )
214+ def centralPassword = project. findProperty(" centralPassword" )
213215jreleaser {
214216 signing {
215217 active = " NEVER"
@@ -222,8 +224,8 @@ jreleaser {
222224 active = ' RELEASE'
223225 url = ' https://central.sonatype.com/api/v1/publisher'
224226 stagingRepository(' build/staging-deploy' )
225- username = project . hasProperty( " centralUsername " ) ? project . property( " centralUsername " ) : centralUsername
226- password = project . hasProperty( " centralPassword " ) ? project . property( " centralPassword " ) : centralPassword
227+ username = centralUsername
228+ password = centralPassword
227229 }
228230 }
229231
You can’t perform that action at this time.
0 commit comments