forked from DroidKaigi/conference-app-2022
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
59 lines (57 loc) · 1.65 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
59
pluginManagement {
includeBuild("gradle/plugins")
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
dependencyResolutionManagement {
// FIXME: When you add this, "Build was configured to prefer settings repositories over project repositories but repository 'ivy' was added" will occur
// repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven("https://oss.sonatype.org/content/repositories/snapshots/")
// for datastore-okio
// maven(url = "https://androidx.dev/snapshots/builds/8938977/artifacts/repository") {
// content {
// includeGroup("androidx.datastore")
// }
// }
// for zipline
// maven("https://oss.sonatype.org/content/repositories/snapshots/")
}
}
rootProject.name = "DroidKaigi2022"
val modules = listOf(
"core-zipline",
"feature-sessions",
"feature-contributors",
"feature-about",
"feature-map",
"feature-announcement",
"feature-setting",
"feature-staff",
"feature-sponsors",
"core-ui",
"core-designsystem",
"core-data",
"core-testing",
"core-model",
)
modules.forEach { filePath ->
val (type, name) = filePath.split("-")
val newProjectName = ":${type}:${name}"
include(newProjectName)
// project(newProjetName).projectDir = file(filePath)
}
include(
":app-android",
":preview-screenshots",
":benchmark"
)
include(":appioscombined")
// for iOS framework name
project(":appioscombined").projectDir = file("app-ios-combined")