8000
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 52b5fba commit 753c165Copy full SHA for 753c165
build.gradle
@@ -44,9 +44,9 @@ project.ext {
44
if(project.hasProperty('nexusPassword')){
45
nexusPassword = "${nexusPassword}"
46
}
47
- nexusUsername = "${nexusUsername}"
48
- nexusPassword = "${nexusPassword}"
49
- nexusStagingProfileId = "${nexusStagingProfileId}"
+ nexusUsername = project.hasProperty('nexusUsername') ? "${nexusUsername}" : ""
+ nexusPassword = project.hasProperty('nexusPassword') ? "${nexusPassword}" : ""
+ nexusStagingProfileId = project.hasProperty('nexusStagingProfileId') ? "${nexusStagingProfileId}" : ""
50
51
52
nexusPublishing {
0 commit comments