-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
53 lines (48 loc) · 1.82 KB
/
settings.gradle.kts
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
apply { from("flutter_settings.gradle") }
pluginManagement {
repositories {
maven { url = uri("https://maven.aliyun.com/repository/central") }
maven { url = uri("https://maven.aliyun.com/repository/public") }
maven { url = uri("https://maven.aliyun.com/repository/gradle-plugin") }
maven { url = uri("https://repo.huaweicloud.com/repository/maven") }
maven { url = uri("https://jitpack.io") }
google()
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
// # 三种模式解释
// # FAIL_ON_PROJECT_REPOS → 工程或工程的插件设置了仓库,构建直接报错抛异常
// # PREFER_PROJECT → 工程设置了仓库优先使用工程配置的,忽略settings
// # PREFER_SETTINGS → 通过工程单独设置或插件设置的仓库,都会被忽略
repositoriesMode.set(RepositoriesMode.PREFER_PROJECT)
repositories {
maven { url = uri("https://maven.aliyun.com/repository/central") }
maven { url = uri("https://maven.aliyun.com/repository/public") }
maven { url = uri("https://maven.aliyun.com/repository/gradle-plugin") }
maven { url = uri("https://repo.huaweicloud.com/repository/maven") }
maven { url = uri("https://jitpack.io") }
google()
mavenCentral()
}
}
rootProject.name = "OpenUnit"
include(":app")
include(":library:res")
include(":library:core")
include(":library:base")
include(":library:dialog")
include(":library:permission")
include(":library:router")
include(":library:recyclerview")
include(":library:image")
include(":library:serialization")
include(":library:net")
//native
include(":feature:pkg")
//compose
include(":feature:compose")
//flutter
include(":flutter_module")
project(":flutter_module").projectDir=File("../OpenUnit/feature/flutter_module")