forked from spockframework/spock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
executable file
·42 lines (34 loc) · 1.06 KB
/
settings.gradle
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
include "spock-bom"
include "spock-core"
include "spock-specs"
include "spock-specs:mock-integration"
include "spock-spring"
include "spock-spring:spring2-test"
include "spock-spring:spring3-test"
include "spock-guice"
if ((System.getProperty("variant") as BigDecimal ?: 2.4) == 2.4) {
include "internal-backport"
}
// https://issues.apache.org/jira/projects/TAP5/issues/TAP5-2588
if (JavaVersion.current().isJava7() || JavaVersion.current().isJava8()) {
include "spock-tapestry"
}
include "spock-unitils"
include "spock-report"
include "spock-gradle"
if (JavaVersion.current().java7Compatible) {
include "spock-spring:boot-test"
}
if (JavaVersion.current().java8Compatible) {
include "spock-spring:boot2-test"
include "spock-spring:spring5-test"
}
rootProject.name = "spock"
nameBuildScriptsAfterProjectNames(rootProject.children)
def nameBuildScriptsAfterProjectNames(projects) {
for (prj in projects) {
prj.buildFileName = prj.name + ".gradle" - "spock-"
nameBuildScriptsAfterProjectNames(prj.children)
}
}
enableFeaturePreview("STABLE_PUBLISHING")