Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonioHReyes committed Nov 21, 2021
1 parent 9a066c2 commit 752f5f6
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

EasyRoutes allows you to easily draw routes through the google maps address api.

Note: You need to generate an API key from the google console with the directions API.
Note: You need to generate an API key from the google console with the directions API and add INTERNET permission in manifest.

## Setup
Gradle:
Expand Down Expand Up @@ -33,7 +33,15 @@ Caused by: org.gradle.api.InvalidUserCodeException: Build was configured to pref

modify your settings.gradle to:
```
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
repositories {
google()
mavenCentral()
jcenter() // Warning: this repository is going to shut down soon
maven { url 'https://jitpack.io' }
}
}
```

Otherwise you have to use library directly in your project.
Expand Down

0 comments on commit 752f5f6

Please sign in to comment.