-
Notifications
You must be signed in to change notification settings - Fork 414
/
settings.gradle.kts
38 lines (33 loc) · 947 Bytes
/
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
import org.gradle.toolchains.foojay.FoojayToolchainResolver
pluginManagement {
repositories {
gradlePluginPortal()
maven("https://maven.ej-technologies.com/repository") {
content {
includeGroup("com.install4")
}
}
mavenCentral()
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver") version("0.4.0")
}
toolchainManagement {
jvm {
javaRepositories {
repository("foojay") {
resolverClass = FoojayToolchainResolver::class.java
}
}
}
}
file("modules").listFiles()!!
.filter { it.isDirectory && !it.name.startsWith('.') && File(it, it.name + ".gradle.kts").exists() }
.forEach { dir ->
include(dir.name)
findProject(":${dir.name}")?.apply {
projectDir = dir
buildFileName = "${dir.name}.gradle.kts"
}
}