-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
40 lines (36 loc) · 1.26 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
// Require Java 10 or higher
val javaVersion = JavaVersion.current()
require(javaVersion.isJava10Compatible) {
"The JUnit 5 build requires Java 10 or higher. Currently executing with Java ${javaVersion.majorVersion}."
}
rootProject.name = "junit5"
include("documentation")
//include("junit-jupiter-api")
//include("junit-jupiter-engine")
//include("junit-jupiter-migrationsupport")
//include("junit-jupiter-params")
//include("junit-platform-commons")
//include("junit-platform-commons-java-9")
//include("junit-platform-console")
//include("junit-platform-console-standalone")
//include("junit-platform-engine")
//include("junit-platform-launcher")
//include("junit-platform-runner")
//include("junit-platform-suite-api")
//include("junit-platform-surefire-provider")
//include("junit-vintage-engine")
//include("platform-tests")
//include("platform-tooling-support-tests")
//include("junit-bom")
// check that every subproject has a custom build file
// based on the project name
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"
}
}
enableFeaturePreview("STABLE_PUBLISHING")