-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
settings.gradle.kts
45 lines (39 loc) · 1.42 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
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
enableFeaturePreview("VERSION_CATALOGS")
pluginManagement {
plugins {
fun String.v() = extra["$this.version"].toString()
fun PluginDependenciesSpec.idv(
id: String,
key: String = id,
) = id(id) version key.v()
idv("com.diffplug.spotless")
idv("com.github.vlsi.crlf", "com.github.vlsi.vlsi-release-plugins")
idv("com.github.vlsi.gradle-extensions", "com.github.vlsi.vlsi-release-plugins")
idv("com.github.vlsi.ide", "com.github.vlsi.vlsi-release-plugins")
idv("com.github.vlsi.license-gather", "com.github.vlsi.vlsi-release-plugins")
idv("com.github.vlsi.stage-vote-release", "com.github.vlsi.vlsi-release-plugins")
idv("org.jetbrains.intellij", "org.jetbrains.intellij")
idv("org.ajoberstar.grgit", "org.ajoberstar.grgit")
idv("org.jetbrains.kotlin.jvm", "kotlin")
idv("org.gradle.kotlin.kotlin-gradle-plugin", "kotlin")
idv("com.google.devtools.ksp")
}
}
include(
"base",
"plugin",
"windows",
"macos",
"linux",
"linux/gtk",
"linux/xdg",
)
rootProject.name = "auto-dark-mode"
for (p in rootProject.children) {
if (p.children.isEmpty()) {
// Rename leaf projects only
// E.g. we don't expect to publish examples as a Maven module
p.name = rootProject.name + "-" + p.name.replace("/", "-")
}
}