summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLangston Smith <langston.smith@mapbox.com>2018-03-06 06:09:47 -0800
committerGitHub <noreply@github.com>2018-03-06 06:09:47 -0800
commitd7808b3a77bce6d2c8221ea624ef5b78616b760c (patch)
tree9c24382131f9685210606e167dfe614808a6129a
parent803a4d46ed15a790876f5bda0e1d49d9ba0483a4 (diff)
downloadqtlocation-mapboxgl-d7808b3a77bce6d2c8221ea624ef5b78616b760c.tar.gz
Android readme snapshot dependency line cleanup (#11071)
* Snapshot dependency line cleanup * Matching version nums * changed compile to implementation
-rw-r--r--platform/android/README.md9
1 files changed, 4 insertions, 5 deletions
diff --git a/platform/android/README.md b/platform/android/README.md
index 1dbdeee343..4e9d55f8c8 100644
--- a/platform/android/README.md
+++ b/platform/android/README.md
@@ -89,15 +89,14 @@ More information about building and distributing this project in [DISTRIBUTE.md]
#### Using the SDK snapshot
-Instead of using the latest stable release of the Maps SDK for Android, you can use a "snapshot" or the beta version if there is one available. Our snapshots are built every time a Github pull request adds code to this repository's `master` branch. If you'd like to use a snapshot build, your Android project's gradle file should have -SNAPSHOT appended to the SDK version number. For example `5.2.0-SNAPSHOT` or:
+Instead of using the latest stable release of the Maps SDK for Android, you can use a "snapshot" or the beta version if there is one available. Our snapshots are built every time a Github pull request adds code to this repository's `master` branch. If you'd like to use a snapshot build, your Android project's gradle file should have -SNAPSHOT appended to the SDK version number. For example, the `5.2.0-SNAPSHOT` would look like:
```java
// Mapbox SDK dependency
-compile('com.mapbox.mapboxsdk:mapbox-android-sdk:5.2.0-SNAPSHOT@aar') {
- transitive = true
-}
+implementation 'com.mapbox.mapboxsdk:mapbox-android-sdk:5.2.0-SNAPSHOT'
```
-You need to have the section below in your build.gradle root folder to be able to resolve the SNAPSHOT dependencies:
+
+You also need to have the section below in your build.gradle root folder to be able to resolve the SNAPSHOT dependencies:
```
allprojects {
repositories {