From ba6532a9167a66935bdfa4851d98a044bba78363 Mon Sep 17 00:00:00 2001 From: Paul Verest Date: Fri, 10 Sep 2021 11:03:48 +0800 Subject: [PATCH] #47 README - secure gradle dependency declaration --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a0db5f5..3c412df 100644 --- a/README.md +++ b/README.md @@ -56,11 +56,17 @@ protected void onActivityResult(int requestCode, int resultCode, Intent data) { ## Import to your project Put this into your `app/build.gradle`: -``` +```gradle repositories { - maven { - url "https://jitpack.io" - } + mavenCentral{ //for mavenCentral, jcenter or any other used repository add excludeGroup + content { + excludeGroup "com.github.adrielcafe" + } + } + maven { url "https://jitpack.io" + // for https://github.com/adrielcafe/AndroidAudioRecorder + content { includeGroup "com.github.adrielcafe" } + } } dependencies {