Skip to content

Commit f8dc434

Browse files
updated README.md
1 parent d6448d6 commit f8dc434

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

README.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,22 @@ Attributes
107107
Installation
108108
------------------------
109109

110-
- Add the following configuration in your build.gradle file.
110+
- Add the following configuration in your `settings.gradle` file.
111111

112112
```gradle
113-
repositories {
114-
jcenter()
115-
maven { url "https://jitpack.io" }
113+
dependencyResolutionManagement {
114+
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
115+
repositories {
116+
...
117+
maven { url "https://jitpack.io" }
118+
...
119+
}
116120
}
121+
```
122+
123+
- Add the dependency to your `build.gradle` (app level).
117124

125+
```gradle
118126
dependencies {
119127
implementation 'com.github.AnupKumarPanwar:ScratchView:1.9'
120128
}
@@ -124,3 +132,4 @@ Developed By
124132
------------
125133

126134
* Anup Kumar Panwar - <[email protected]>
135+
https://www.linkedin.com/in/anupkumarpanwar/

0 commit comments

Comments
 (0)