-
Notifications
You must be signed in to change notification settings - Fork 16
/
settings.gradle.kts
50 lines (47 loc) · 1.28 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
pluginManagement {
repositories {
gradlePluginPortal()
jcenter()
}
resolutionStrategy {
eachPlugin {
when (requested.id.id) {
"com.gradle.build-scan" -> useVersion(Versions.buildScanPlugin)
"com.diffplug.gradle.spotless" -> useVersion(Versions.spotlessPlugin)
"org.jetbrains.kotlin.jvm" -> useVersion(Versions.kotlinVersion)
"org.asciidoctor.convert" -> useVersion(Versions.asciidoctorPlugin)
"io.gitlab.arturbosch.detekt" -> useVersion(Versions.detektVersion)
"org.jetbrains.dokka" -> useVersion(Versions.dokkaPlugin)
}
}
}
}
rootProject.name = "livingdoc"
include(
"livingdoc-api",
"livingdoc-config",
"livingdoc-converters",
"livingdoc-documentation",
"livingdoc-engine",
"livingdoc-extensions-api",
"livingdoc-format-gherkin",
"livingdoc-junit-engine",
"livingdoc-reports",
"livingdoc-repositories",
"livingdoc-repository-file",
"livingdoc-repository-git",
"livingdoc-repository-rest",
"livingdoc-repository-confluence",
"livingdoc-results",
"livingdoc-tests",
"livingdoc-testdata"
)
rootProject.children.forEach { project ->
project.buildFileName = "${project.name}.gradle"
if (!project.buildFile.isFile) {
project.buildFileName = "${project.name}.gradle.kts"
}
require(project.buildFile.isFile) {
"${project.buildFile} must exist"
}
}