From 589b8a0fbf2360793e69cc16649e6aa32002a79e Mon Sep 17 00:00:00 2001 From: Chobits Tai Date: Wed, 4 Jan 2023 14:10:54 +0800 Subject: [PATCH 1/2] update adding repository --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 06b27ec..32ec5f7 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,17 @@ allprojects { } } ``` + +For newer version of Android Studio, add jitpack.io repository to your settings.gradle instead: +```gradle +dependencyResolutionManagement { + repositories { + ... + maven { url 'https://jitpack.io' } + } +} +``` + Add library to dependencies ```gradle dependencies { From e3085eaccebfc7213a9b7251b78bee2ed0fc7387 Mon Sep 17 00:00:00 2001 From: kai-morich Date: Thu, 12 Jan 2023 17:21:32 +0100 Subject: [PATCH 2/2] clarified condition for alternative repo setting --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 32ec5f7..a2c3057 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ allprojects { } ``` -For newer version of Android Studio, add jitpack.io repository to your settings.gradle instead: +Starting with gradle 6.8 you can alternatively add jitpack.io repository to your settings.gradle: ```gradle dependencyResolutionManagement { repositories {