testing: move mockito from compile to testCompile

This commit is contained in:
ZHANG Dapeng 2019-04-03 08:55:31 -07:00 committed by GitHub
parent 755a22790b
commit 3325881eae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,8 @@ dependencies {
compile project(':grpc-core'),
project(':grpc-stub'),
libraries.junit
compile (libraries.mockito) {
testCompile (libraries.mockito) {
// prefer 1.3 from JUnit instead of 1.1
exclude group: 'org.hamcrest', module: 'hamcrest-core'
}