-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathsettings.gradle.kts
57 lines (48 loc) · 1.74 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
@file:Suppress("UnstableApiUsage", "UNCHECKED_CAST")
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
pluginManagement {
includeBuild("build-logic")
apply("repositories.gradle.kts")
repositories {
gradlePluginPortal()
(extra["repos"] as (RepositoryHandler) -> Unit)(this)
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
(extra["repos"] as (RepositoryHandler) -> Unit)(repositories)
}
rootProject.name = "WebToon"
fun includeProject(moduleName: String, rootFolderName: String = "") {
settings.include(moduleName)
if (rootFolderName.isNotEmpty()) {
project(moduleName).projectDir =
File(rootDir, "${rootFolderName}/${moduleName.substring(startIndex = 1)}")
}
}
///////////////////////////////////////////////////////////////////////////
// Modules
///////////////////////////////////////////////////////////////////////////
includeProject(":app")
includeProject(":data")
includeProject(":data-local")
includeProject(":data-remote")
includeProject(":core")
includeProject(":core-android")
includeProject(":model")
includeProject(":domain")
includeProject(":compose")
includeProject(":ui-theme")
includeProject(":ui-intro", "features")
includeProject(":ui-main-container", "features")
includeProject(":ui-common", "features")
includeProject(":ui-weekly", "features")
includeProject(":ui-episode", "features")
includeProject(":ui-setting", "features")
includeProject(":ui-detail", "features")
includeProject(":sample-common", "sample")
includeProject(":sample-intro", "sample")
includeProject(":sample-weekly", "sample")
includeProject(":sample-episode", "sample")
includeProject(":sample-detail", "sample")
includeProject(":sample-setting", "sample")