Skip to content

Commit 30a672f

Browse files
authored
Merge pull request #322 from mapbox/rl/registry_token_lookup
Registry token lookup
2 parents d7a3eb7 + ea5cf65 commit 30a672f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

android/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ buildscript {
1515
}
1616

1717
rootProject.allprojects {
18-
def token = System.getenv("SDK_REGISTRY_TOKEN") ?: project.properties['SDK_REGISTRY_TOKEN']
18+
def token = System.getenv("SDK_REGISTRY_TOKEN") ?: project.findProperty('SDK_REGISTRY_TOKEN')
19+
1920
if (token == null || token.empty) {
2021
throw new Exception("SDK Registry token is null. See README.md for more information.")
2122
}

0 commit comments

Comments
 (0)