From dbdfaf88128973afa3b1e2b4d1888d178af43155 Mon Sep 17 00:00:00 2001 From: juniorvansuita Date: Thu, 16 Jun 2022 20:21:39 -0300 Subject: [PATCH] readme --- README.md | 13 +++++++++++-- app/src/main/AndroidManifest.xml | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7327bd6..cc0a214 100644 --- a/README.md +++ b/README.md @@ -37,15 +37,24 @@ This is an [**Android**](https://developer.android.com) project. It shows a [Dia # Setup -#### Step #1. Add the JitPack repository to your build file: +#### Step #1. Add the JitPack repository to your build.gradle file: ```gradle allprojects { repositories { - ... maven { url "https://jitpack.io" } } } ``` +#### Step #1.1 Or add the JitPack repository to the settings.gradle file: + +```gradle +dependencyResolutionManagement { + repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) + repositories { + maven { url 'https://jitpack.io' } + } +} +``` #### Step #2. Add the dependency ([See latest release](https://jitpack.io/#jrvansuita/PickImage)). ```groovy diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 74ff594..c3235e3 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -12,7 +12,7 @@ android:theme="@style/AppTheme">