Skip to content

Commit ea5cf65

Browse files
committed
update token lookup
1 parent 3d91047 commit ea5cf65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/build.gradle

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

1717
rootProject.allprojects {
18-
def token = System.getenv("SDK_REGISTRY_TOKEN") ?: project.hasProperty('SDK_REGISTRY_TOKEN') ? project.property('SDK_REGISTRY_TOKEN') : project.SDK_REGISTRY_TOKEN
18+
def token = System.getenv("SDK_REGISTRY_TOKEN") ?: project.findProperty('SDK_REGISTRY_TOKEN')
1919

2020
if (token == null || token.empty) {
2121
throw new Exception("SDK Registry token is null. See README.md for more information.")

0 commit comments

Comments
 (0)