forked from spockframework/spock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
specs.gradle
executable file
·44 lines (34 loc) · 1.09 KB
/
specs.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
43
44
ext.displayName = "Spock Framework - Specs for Core Module"
description = "Spock specifications for the Core Module. Yes, we eat our own dog food."
apply plugin: "spock-base"
configurations {
groovyConsole
}
dependencies {
testCompile project(":spock-core")
testCompile libs.groovySql //for groovy.sql.Sql
testCompile(libs.groovyTest) { //for groovy.test.NotYetImplemented
exclude group: 'junit'
}
testRuntime libs.asm
testRuntime libs.bytebuddy
testRuntime libs.cglib
testRuntime libs.objenesis
testRuntime libs.h2database
groovyConsole groovyConsoleExtraDependencies
}
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
test {
reports.junitXml.enabled = true
reports.html.enabled = true
testLogging.exceptionFormat = "full"
testLogging.showExceptions = true
testLogging.events 'standard_out'
testLogging.events 'standard_error'
maxParallelForks = 1
}
task groovyConsole(type: JavaExec) {
main = variant == 2.5 ? "groovy.ui.Console" : "groovy.console.ui.Console"
classpath = sourceSets.test.runtimeClasspath + configurations.groovyConsole
}