-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathsettings.gradle
More file actions
25 lines (25 loc) · 915 Bytes
/
settings.gradle
File metadata and controls
25 lines (25 loc) · 915 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
pluginManagement {
repositories {
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
maven { url "https://jitpack.io" }
google()
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
//阿里云开源代码库,用于解决网络无法访问墙外代码库的情况
//因为查找库时是按配置的maven顺序的,所以不要吧google()和mavenCentral()放到前面
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
maven { url 'https://jitpack.io' }
google()
mavenCentral()
}
}
include ':app'
//include ':testapplication'
include ':q_base'