forked from I2P_Developers/i2p.i2p
add mockito to top level
This commit is contained in:
@@ -15,8 +15,6 @@ sourceSets {
|
||||
|
||||
dependencies {
|
||||
compile project(':core')
|
||||
|
||||
testCompile 'org.mockito:mockito-core:2.11.0'
|
||||
}
|
||||
|
||||
configurations {
|
||||
|
12
build.gradle
12
build.gradle
@@ -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')
|
||||
|
Reference in New Issue
Block a user