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 9649807 commit 57bed7cCopy full SHA for 57bed7c
build.gradle
@@ -110,8 +110,8 @@ publishing {
110
maven {
111
url 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
112
credentials {
113
- username = sonatypeUsername
114
- password = sonatypePassword
+ username = hasProperty('sonatypeUsername') ? sonatypeUsername : System.getenv('sonatypeUsername')
+ password = hasProperty('sonatypePassword') ? sonatypePassword : System.getenv('sonatypePassword')
115
}
116
117
0 commit comments