forked from matheus-corregiari/arch-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
44 lines (37 loc) · 1.21 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
@file:Suppress("UnstableApiUsage")
pluginManagement {
apply(from = "$rootDir/plugin/repositories.gradle.kts")
val repositoryList: RepositoryHandler.() -> Unit by extra
repositories(repositoryList)
}
dependencyResolutionManagement {
apply(from = "$rootDir/plugin/repositories.gradle.kts")
val repositoryList: RepositoryHandler.() -> Unit by extra
repositories(repositoryList)
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
versionCatalogs {
register("libraries") {
from(files("$rootDir/tools/libs.versions.toml"))
}
}
}
// Root Project config
rootProject.name = "Arch Toolkit"
// Plugins --> The Dev just want to be happy
includeBuild("plugin")
// Toolkit Libraries
include(":toolkit:delegate")
include(":toolkit:event-observer")
include(":toolkit:foldable")
include(":toolkit:recycler-adapter")
include(":toolkit:splinter")
include(":toolkit:storage")
include(":toolkit:util")
include(":toolkit:statemachine")
// Samples
val isIdeBuild: Boolean = extra.properties["android.injected.invoked.from.ide"] == "true"
if (isIdeBuild) {
include(":samples:github-list-project")
include(":samples:playground")
include(":samples:playground-android")
}