Skip to content
This repository was archived by the owner on Jan 31, 2022. It is now read-only.

Commit 3240fd5

Browse files
committed
chore(nexus): Use env directly
1 parent 4df0b1e commit 3240fd5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

algoliasearch/common.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ ext {
3030
APPCOMPAT_VERSION = '26.1.0'
3131
BUILD_TOOLS_VERSION = '26.0.2'
3232

33-
nexus_username = project.hasProperty('nexusUsername') ? project['nexusUsername'] : "\"$System.env.NEXUS_USERNAME\""
34-
nexus_password = project.hasProperty('nexusPassword') ? project['nexusPassword'] : "\"$System.env.NEXUS_PASSWORD\""
33+
nexus_username = "\"$System.env.NEXUS_USERNAME\""
34+
nexus_password = "\"$System.env.NEXUS_PASSWORD\""
3535
}
3636

3737
android {

0 commit comments

Comments
 (0)