-
-
Notifications
You must be signed in to change notification settings - Fork 103
/
settings.gradle.kts
56 lines (50 loc) · 1.44 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
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
maven(url = "https://s01.oss.sonatype.org/content/repositories/snapshots/")
maven(url = "https://oss.sonatype.org/content/repositories/snapshots")
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.PREFER_PROJECT)
repositories {
google()
mavenCentral()
maven(url = "https://jitpack.io")
maven(url = "https://s01.oss.sonatype.org/content/repositories/snapshots/")
maven(url = "https://oss.sonatype.org/content/repositories/snapshots")
}
}
val copyToBuildSrc = { sourcePath: String ->
rootDir.resolve(sourcePath).copyRecursively(
target = rootDir.resolve("buildSrc").resolve(sourcePath),
overwrite = true,
)
println("[DONE] copied $sourcePath")
}
arrayOf("gradle.properties", "gradle/wrapper").forEach(copyToBuildSrc)
rootProject.name = "MVI-Coroutines-Flow"
include(":app")
include(":feature-main")
include(":feature-add")
include(":feature-search")
include(":domain")
include(":data")
include(":core")
include(":core-ui")
include(":test-utils")
includeProject(":mvi-base", "mvi/mvi-base")
includeProject(":mvi-testing", "mvi/mvi-testing")
fun includeProject(
name: String,
filePath: String,
) {
include(name)
project(name).projectDir = File(filePath)
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version("0.8.0")
}