Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BirjuVachhani authored Feb 8, 2022
1 parent fae92c6 commit c9fbaf3
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 c9fbaf3

Please sign in to comment.