Android readme snapshot dependency line cleanup (#11071)
* Snapshot dependency line cleanup * Matching version nums * changed compile to implementation
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user