forked from spockframework/spock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
spring.gradle
executable file
·28 lines (21 loc) · 999 Bytes
/
spring.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
apply from: script("publishMaven")
displayName = "Spock Framework - Spring Module"
description = "Spock's Spring Module makes it possible to use Spring's TestContext framework together with Spock. \
Supports Spring 2.5.x, 3.x, and 4.x."
def springVersion = "4.1.0.RELEASE"
if (springVersion.startsWith("2.")) {
sourceSets.test.groovy.exclude "**/*ContextHierarchyExample.groovy"
}
dependencies {
compile project(":spock-core")
compile "org.springframework:spring-test:$springVersion", provided
compile "org.springframework:spring-beans:$springVersion", provided
compile "org.springframework:spring-context:$springVersion", provided
// not used directly at compile-time, but needed by groovyc
testCompile "org.springframework:spring-core:$springVersion"
testCompile "org.springframework:spring-jdbc:$springVersion"
testCompile "org.springframework:spring-tx:$springVersion"
testCompile "javax.inject:javax.inject:1"
testRuntime libs.h2database
testRuntime libs.log4j
}