Repository navigation
Expand file tree
/
Copy pathsettings.gradle
More file actions
53 lines (49 loc) · 1.63 KB
/
Copy pathsettings.gradle
File metadata and controls
53 lines (49 loc) · 1.63 KB
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
pluginManagement {
resolutionStrategy {
eachPlugin {
if (requested.id.toString() == "io.openremote.com.cherryperry.gradle-file-encrypt") {
useModule("com.github.openremote:GradleFileEncrypt:$requested.version")
}
}
}
repositories {
gradlePluginPortal()
maven {
url = "https://jitpack.io"
}
}
}
// TODO: These plugins remain here because project.gradle imports their classes,
// and version-catalog aliases cannot be used in settings.gradle. Move the related
// configuration into convention plugins/build logic so their versions can be
// managed through libs.versions.toml.
plugins {
id 'com.diffplug.spotless' version "$spotlessVersion" apply false
id 'cz.habarta.typescript-generator' version "$typescriptGeneratorVersion" apply false
id 'org.jetbrains.gradle.plugin.idea-ext' version "$ideaExtPluginVersion" apply false
}
rootProject.name = "openremote"
// Include sub-projects dynamically, every directory with a build.gradle (and no .buildignore)
fileTree(
dir: rootDir,
include: "**/build.gradle",
excludes: [
".git/**",
"**/.git/**",
".gradle/**",
"**/.gradle/**",
"**/build/**",
"**/node_modules/**",
"**/generic_app/**",
"**/dist/**",
"**/lib/**"
]
)
.filter { it.parentFile != rootDir }
.filter { !new File(it.parentFile, ".buildignore").exists() }
.each {
include it.parentFile.canonicalPath
.replace(rootDir.canonicalPath, "")
.replace("\\", ":")
.replace("/", ":")
}