diff --git a/README.md b/README.md index 62822afa2..a8b1bbd60 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,8 @@ An alternative method to provide access tokens that was required until the v0.7 ### SDK Download token You must also configure a secret access token having the *Download: read* scope for -(Android)[https://docs.mapbox.com/android/maps/guides/install/] and/or -(iOS)[https://docs.mapbox.com/ios/maps/guides/install/]. +[Android](https://docs.mapbox.com/android/maps/guides/install/) and/or +[iOS](https://docs.mapbox.com/ios/maps/guides/install/). If this configuration is not present, an error like the following appears during the build process: diff --git a/android/build.gradle b/android/build.gradle index cf9f8b92f..0a599ce4a 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -13,7 +13,7 @@ buildscript { } rootProject.allprojects { - def token = System.getenv('SDK_REGISTRY_TOKEN') ?: project.properties['MAPBOX_DOWNLOAD_TOKEN'] + def token = System.getenv('SDK_REGISTRY_TOKEN') ?: project.properties['MAPBOX_DOWNLOADS_TOKEN'] if (token == null || token.empty) { throw new Exception("SDK Registry token is null. See README.md for more information.") }