-
Notifications
You must be signed in to change notification settings - Fork 2
/
settings.gradle.kts
89 lines (83 loc) · 2.15 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
enableFeaturePreview("STABLE_CONFIGURATION_CACHE")
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
google()
}
}
plugins {
id("com.gradle.enterprise") version "3.16.1"
id("org.gradle.toolchains.foojay-resolver-convention") version("0.7.0")
}
buildCache {
local {
isEnabled = true
directory = File(rootDir, "build-cache")
removeUnusedEntriesAfterDays = 30
}
remote<HttpBuildCache> {
isEnabled = false
}
}
private val localLibraries = true
rootProject.name = "Toggles"
includeBuild("build-logic/conventions")
includeBuild("toggles-core") {
dependencySubstitution {
if (localLibraries) {
substitute(module("se.eelde.toggles:toggles-core")).using(project(":"))
}
}
}
includeBuild("toggles-flow") {
dependencySubstitution {
if (localLibraries) {
substitute(module("se.eelde.toggles:toggles-flow")).using(project(":"))
}
}
}
includeBuild("toggles-flow-noop") {
dependencySubstitution {
if (localLibraries) {
substitute(module("se.eelde.toggles:toggles-flow-noop")).using(project(":"))
}
}
}
includeBuild("toggles-prefs") {
dependencySubstitution {
if (localLibraries) {
substitute(module("se.eelde.toggles:toggles-prefs")).using(project(":"))
}
}
}
includeBuild("toggles-prefs-noop") {
dependencySubstitution {
if (localLibraries) {
substitute(module("se.eelde.toggles:toggles-prefs-noop")).using(project(":"))
}
}
}
include(
":toggles-app",
":toggles-sample",
":modules:compose-theme",
":modules:database",
":modules:provider",
":modules:applications",
":modules:configurations",
":modules:oss",
":modules:help",
":modules:stringconfiguration",
":modules:booleanconfiguration",
":modules:integerconfiguration",
":modules:enumconfiguration",
)
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
}