-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsettings.gradle.kts
49 lines (47 loc) · 1.28 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
@file:Suppress("UnstableApiUsage")
pluginManagement {
repositories {
google()
mavenCentral()
gradlePluginPortal()
maven(url = "https://www.jitpack.io")
}
}
dependencyResolutionManagement {
versionCatalogs {
create("kotlinx") {
from(files("gradle/kotlinx.versions.toml"))
}
create("androidx") {
from(files("gradle/androidx.versions.toml"))
}
create("compose") {
from(files("gradle/compose.versions.toml"))
}
}
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven(url = "https://www.jitpack.io")
maven (url ="https://androidx.dev/storage/compose-compiler/repository/")
}
}
rootProject.name = "PiPixiv"
include(":app")
include(":common")
include(":util")
include(":repository")
include(":datasource")
include(":data")
include(":network")
include(":domain")
include(":common-ui")
// include modules in feature folder
file("./feature").listFiles()?.filter { it.isDirectory }?.forEach { moduleDir ->
// 使用目录名称构建模块路径
val moduleName = ":feature:${moduleDir.name}"
println("module name: $moduleName")
include(moduleName)
}
include(":baselineprofile")