From 4dec460adeec88972e03f66deddd5c9d31175cdf Mon Sep 17 00:00:00 2001 From: deji Date: Tue, 14 Nov 2023 11:25:36 +0800 Subject: [PATCH] readme update --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fc7e6c6..f7b6ed9 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![](https://jitpack.io/v/DmcSDK/MediaPickerPoject.svg)](https://jitpack.io/#DmcSDK/MediaPickerPoject) # MediaPickerProject 仿微信视频图片选择器,代码撸的非常简洁好改,支持cordova调用,联系QQ:3451927565。 @@ -17,13 +18,17 @@ use Gradle: ```gradle -repositories { - mavenCentral() // jcenter() works as well because it pulls from Maven Central +dependencyResolutionManagement { + repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) + repositories { + mavenCentral() + maven { url 'https://jitpack.io' } + } } dependencies { -    compile 'com.dmcBig:mediapicker:+' -} + implementation 'com.github.DmcSDK:MediaPickerPoject:Tag' + } ``` code: