-
Notifications
You must be signed in to change notification settings - Fork 3
/
settings.gradle.kts
73 lines (65 loc) · 1.83 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
/*
* Copyright (c) 2024 Matthias Geisler (bitPogo) / All rights reserved.
*
* Use of this source code is governed by Apache v2.0
*/
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
pluginManagement {
repositories {
gradlePluginPortal()
google()
}
}
dependencyResolutionManagement {
versionCatalogs {
create("antibytes") {
from(files("./gradle/antibytes.catalog.toml"))
}
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}
includeBuild("convention")
includeBuild("shared-version-catalog")
include(
":antibytes-android-configuration",
":antibytes-android-application-configuration",
":antibytes-android-library-configuration",
":antibytes-dokka-configuration",
":antibytes-kmp-configuration",
":antibytes-scss-configuration",
":antibytes-java-configuration",
":antibytes-coverage",
":antibytes-gradle-utils",
":antibytes-gradle-test-utils",
":antibytes-dependency-bridge",
":antibytes-dependency-catalog",
":antibytes-dependency-catalog-builder",
":antibytes-dependency-helper",
":antibytes-dependency-node",
":antibytes-publishing",
":antibytes-publishing-configuration",
":antibytes-versioning",
":antibytes-grammar-tools",
":antibytes-runtime-configuration",
":antibytes-quality",
":antibytes-detekt-configuration",
":antibytes-custom-component",
":antibytes-mkdocs",
":antibytes-dependency-settings",
)
buildCache {
val isGithub = System.getenv("GITHUB_REPOSITORY")?.let { true } ?: false
val target = if (isGithub) {
".gradle/build-cache"
} else {
"build-cache"
}
local {
isEnabled = true
directory = File(rootDir, target)
removeUnusedEntriesAfterDays = 10
}
}
rootProject.name = "gradle-plugins"