From d7808b3a77bce6d2c8221ea624ef5b78616b760c Mon Sep 17 00:00:00 2001 From: Langston Smith Date: Tue, 6 Mar 2018 06:09:47 -0800 Subject: [PATCH] Android readme snapshot dependency line cleanup (#11071) * Snapshot dependency line cleanup * Matching version nums * changed compile to implementation --- platform/android/README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/platform/android/README.md b/platform/android/README.md index 1dbdeee34..4e9d55f8c 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 {