Skip to content

Commit

Permalink
Update Readme instructions to match new Android Studio projects
Browse files Browse the repository at this point in the history
  • Loading branch information
fotiDim committed Jul 25, 2023
1 parent 25409ef commit 69a69c3
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,25 @@ Some devices may have varying volume ranges, such as 0 to 15 or 0 to 30. Univers

## Installation

To include Universal Volume in your Android project, add the JitPack repository to your root build.gradle at the end of repositories:
To include Universal Volume in your Android project, add the JitPack repository to your `settings.gradle` at the end of repositories:

```gradle
allprojects {
dependencyResolutionManagement {
...
repositories {
...
maven { url 'https://jitpack.io' }
maven { url 'https://jitpack.io' } // Adding JitPack as dependencies source
}
}
```

Add the dependency
Add the dependency in your app's `build.gradle`:

```gradle
dependencies {
implementation 'com.github.Navideck:Universal-Volume:Tag'
...
implementation 'com.github.Navideck:Universal-Volume:v1.1.1'
...
}
```

Expand Down

0 comments on commit 69a69c3

Please sign in to comment.