-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
28 lines (24 loc) · 987 Bytes
/
build.gradle
File metadata and controls
28 lines (24 loc) · 987 Bytes
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 plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'eclipse'
// The project is compatible with Java 6.
sourceCompatibility = '1.6'
targetCompatibility = '1.6'
repositories {
// Use 'maven central' for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
mavenCentral()
}
dependencies {
// For testing
testCompile 'org.codehaus.groovy:groovy-all:2.1.6'
testCompile "org.spockframework:spock-core:0.7-groovy-2.0", {
transitive = false
}
testCompile "org.hamcrest:hamcrest-core:1.2" // Hamcrest matchers
testRuntime "cglib:cglib-nodep:2.2" // enables mocking of classes (i n addition to interfaces)
testRuntime "org.objenesis:objenesis:1.2" // enables mocking of classes without default constructor (together with CGLIB)
testCompile 'junit:junit-dep:4.10'
testCompile "org.hamcrest:hamcrest-core:1.3"
testCompile "org.hamcrest:hamcrest-library:1.3", { transitive = false }
}