File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed
Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -107,14 +107,22 @@ Attributes
107107Installation
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
118126dependencies {
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/
You can’t perform that action at this time.
0 commit comments