-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
/
extTest.gradle
31 lines (25 loc) · 936 Bytes
/
extTest.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
apply from: "$rootDir/gradle/dependencies.gradle"
apply plugin: 'java'
description = "End-to-end tests for Mockito and its extensions."
sourceCompatibility = 1.8
//so that we can depend on locally published mockito
//and test end-to-end mockito jar resolution (for example, flesh out missing dependencies in pom file)
[compileTestJava, ideaModule].each {
it.dependsOn ":publishToMavenLocal"
}
repositories {
mavenLocal() //we depend on locally published mockito
}
dependencies {
testCompile "org.mockito:mockito-core:$version"
testCompile project(":junit-jupiter")
testCompile project(path: ':', configuration: 'testUtil')
testCompile libraries.junit4
testCompile libraries.assertj
testCompile libraries.junitJupiterApi
}
configurations.all {
//TODO SF enable when #154 is implemented
//let's make those tests not use hamcrest
//exclude group: 'org.hamcrest', module: 'hamcrest-core'
}