add mockito to top level

This commit is contained in:
zab2
2017-11-02 20:15:48 +00:00
parent 69bd0571d4
commit bf639478c7
2 changed files with 7 additions and 7 deletions

View File

@@ -15,8 +15,6 @@ sourceSets {
dependencies {
compile project(':core')
testCompile 'org.mockito:mockito-core:2.11.0'
}
configurations {

View File

@@ -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')