-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.gradle.kts
58 lines (54 loc) · 1.46 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
53
54
55
56
57
58
rootProject.name = "PiPixiv"
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
pluginManagement {
repositories {
google {
mavenContent {
includeGroupAndSubgroups("androidx")
includeGroupAndSubgroups("com.android")
includeGroupAndSubgroups("com.google")
}
}
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositories {
google {
mavenContent {
includeGroupAndSubgroups("androidx")
includeGroupAndSubgroups("com.android")
includeGroupAndSubgroups("com.google")
}
}
mavenCentral()
maven("https://jogamp.org/deployment/maven")
}
versionCatalogs {
create("kotlinx") {
from(files("gradle/kotlinx.versions.toml"))
}
}
}
include(":composeApp")
include(":common")
include(":common-viewmodel")
include(":data")
include(":data:processor")
include(":datasource")
include(":repository")
include(":util")
file("./feature").listFiles()?.filter { it.isDirectory }?.forEach { moduleDir ->
// 使用目录名称构建模块路径
val moduleName = ":feature:${moduleDir.name}"
println("module name: $moduleName")
include(moduleName)
}
include(":domain")
include(":feature:home")
include(":common-ui")
include(":feature:search")
include(":feature:profile")
include(":feature:picture")
include(":network")