-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathbuild.gradle
More file actions
53 lines (43 loc) · 1.29 KB
/
build.gradle
File metadata and controls
53 lines (43 loc) · 1.29 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
plugins {
id 'org.javamodularity.moduleplugin' version '2.0.0' apply false
}
subprojects {
apply plugin: 'groovy'
apply plugin: 'org.javamodularity.moduleplugin'
repositories {
mavenCentral()
}
modularity {
improveEclipseClasspathFile()
moduleVersion '1.2.3'
}
test {
useJUnitPlatform()
testLogging {
events 'PASSED', 'FAILED', 'SKIPPED', 'STANDARD_OUT'
stackTraceFilters = []
}
}
dependencies {
implementation 'org.codehaus.groovy:groovy:3.0.25'
testImplementation "org.junit.jupiter:junit-jupiter-api:$jUnitVersion"
testImplementation "org.junit.jupiter:junit-jupiter-params:$jUnitVersion"
testImplementation "org.junit.jupiter:junit-jupiter-engine:$jUnitVersion"
testRuntimeOnly "org.junit.platform:junit-platform-launcher:$jUnitPlatformVersion"
testImplementation("org.spockframework:spock-core:2.4-groovy-5.0") {
exclude module: 'groovy-nio'
exclude module: 'groovy-test'
exclude module: 'groovy-xml'
}
}
test {
moduleOptions {
runOnClasspath = false
}
}
compileTestJava {
moduleOptions {
compileOnClasspath = false
}
}
}