12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- pluginManagement {
- repositories {
- google {
- content {
- includeGroupByRegex("com\\.android.*")
- includeGroupByRegex("com\\.google.*")
- includeGroupByRegex("androidx.*")
- }
- }
- mavenCentral()
- gradlePluginPortal()
- maven { url = uri("https://jitpack.io") }
- maven { url "https://maven.aliyun.com/repository/public" }
- maven{url 'https://maven.aliyun.com/nexus/content/repositories/google'}
- maven{url 'https://maven.aliyun.com/nexus/content/repositories/jcenter'}
- }
- }
- /**
- *RepositoriesMode.PREFER_PROJECT : 解析依赖库时 , 优先使用本地仓库 , 本地仓库没有该依赖 , 则使用远程仓库 ;
- RepositoriesMode.FAIL_ON_PROJECT_REPOS : 解析依赖库时 , 强行使用远程仓库 , 不管本地仓库有没有该依赖库 ;
- 原文链接:https://blog.csdn.net/2401_84186067/article/details/138264843
- */
- dependencyResolutionManagement {
- repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
- repositories {
- google()
- mavenCentral()
- maven { url = uri("https://jitpack.io") }
- maven { url "https://maven.aliyun.com/repository/public" }
- maven{url 'https://maven.aliyun.com/nexus/content/repositories/google'}
- maven{url 'https://maven.aliyun.com/nexus/content/repositories/jcenter'}
- flatDir {
- dirs '../JJeFace/facelibrary/libs'
- }
- }
- }
- rootProject.name = "JJeFace"
- include ':app'
- include ':facelibrary'
- include ':speark'
- include ':datalibrary'
- include ':settinglibrary'
- include ':registerlibrary'
- include ':http'
|