Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
(cherry picked from commit c9fbaf3)
  • Loading branch information
BirjuVachhani committed Jun 5, 2022
1 parent 552ed72 commit b729860
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,18 +86,36 @@ Feel free to re-open [#53](https://github.com/BirjuVachhani/locus-android/issues

## Gradle Dependency

* Add the JitPack repository to your project's build.gradle file
1. Add the JitPack repository.

**For Classic Android Project:**

Add this in your project's build.gradle file.

```
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
maven { url 'https://jitpack.io' } // add this line only
}
}
```

**For Compose Android Project:**

Add this in your project's settings.gradle file.

```
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
...
maven { url 'https://jitpack.io' } // add this line only
}
}
```

* Add the dependency in your app's build.gradle file
2. Add the dependency in your app's build.gradle file

```
dependencies {
Expand Down

0 comments on commit b729860

Please sign in to comment.