diff --git a/docs/native/modules/android/uni-push.md b/docs/native/modules/android/uni-push.md index 8ea83c38ec11f8326e8d70f6e913fb0768bd1502..ed90ca91be7ea7aa5ac93c5fb5aada97aedba5d9 100644 --- a/docs/native/modules/android/uni-push.md +++ b/docs/native/modules/android/uni-push.md @@ -9,7 +9,7 @@ allprojects { repositories { jcenter() google() - // 个推的Maven仓地址。 + // 个推的Maven仓库地址。 maven { url 'https://mvn.getui.com/nexus/content/repositories/releases' } diff --git a/docs/native/modules/android/uni-verify.md b/docs/native/modules/android/uni-verify.md index c72cd7a8b3d7ca5ca4e66328b8af63efa0481082..97beebd203349bef61bcb3aafa2809b9c51d2141 100644 --- a/docs/native/modules/android/uni-verify.md +++ b/docs/native/modules/android/uni-verify.md @@ -10,11 +10,27 @@ 将本地依赖库复制到app项目的libs下。 ### 线上依赖库 + +首先在项目根目录下的build.gradle增加个推仓库源。 + +```groovy +allprojects { + repositories { + jcenter() + google() + // 个推的Maven仓库地址 + maven { + url 'https://mvn.getui.com/nexus/content/repositories/releases' + } + } +} +``` + |名称 | |:-- | |com.getui:gtc:3.2.13.0 | -将线上依赖库添加到app项目的build.gradle下。 +然后将线上依赖库添加到app项目的build.gradle下。 ### 配置应用ID