From dc105db5a31d7cf76184f567e0a4f209aa11c3f3 Mon Sep 17 00:00:00 2001 From: renpengfei Date: Fri, 18 Jun 2021 17:24:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9Readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 88a4be0..821e7e6 100644 --- a/README.md +++ b/README.md @@ -24,11 +24,21 @@ ## 安装教程 -1. 在主项目entry中的grade文件依赖 +1.在项目根目录下的build.gradle文件中, +``` +allprojects { + repositories { + maven { + url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' + } + } +} +``` +2.在entry模块的build.gradle文件中, ``` dependencies { - implementation fileTree(dir: 'libs', include: ['*.jar', '*.har']) - implementation project(path: ':library') + implementation('com.gitee.chinasoft_ohos:PermissionUtils:0.0.1-SNAPSHOT') + ...... } ``` 如无法运行,删除项目.gradle,.idea,build,gradle,build.gradle文件, -- Gitee