I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit bf639478 authored by zab2's avatar zab2
Browse files

add mockito to top level

parent 69bd0571
No related branches found
No related tags found
No related merge requests found
......@@ -15,8 +15,6 @@ sourceSets {
dependencies {
compile project(':core')
testCompile 'org.mockito:mockito-core:2.11.0'
}
configurations {
......
......@@ -10,6 +10,7 @@ subprojects {
dependencies {
testCompile 'junit:junit:4.+'
testCompile 'org.hamcrest:hamcrest-library:1.3'
testCompile 'org.mockito:mockito-core:2.11.0'
}
jar {
......@@ -20,11 +21,12 @@ subprojects {
sourceCompatibility = 1.7
// Set bootClasspath=/path/to/rt.jar:/path/to/jce.jar in gradle.properties if needed
if (bootClasspath) {
tasks.withType(AbstractCompile, { AbstractCompile ac ->
ac.options.bootstrapClasspath = files(bootClasspath)
})
}
// Please check if you forgot to check in gradle.properties --zab
// if (bootClasspath) {
// tasks.withType(AbstractCompile, { AbstractCompile ac ->
// ac.options.bootstrapClasspath = files(bootClasspath)
// })
// }
}
//apply from: file('gradle/update.gradle')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment