2015-01-28 02:25:39 +08:00
|
|
|
description = "gRPC: Testing"
|
2016-12-07 01:32:04 +08:00
|
|
|
|
2014-12-16 01:58:05 +08:00
|
|
|
dependencies {
|
2016-02-07 14:47:35 +08:00
|
|
|
compile project(':grpc-core'),
|
|
|
|
project(':grpc-stub'),
|
2017-09-19 07:20:18 +08:00
|
|
|
libraries.junit
|
|
|
|
compile (libraries.mockito) {
|
|
|
|
// prefer 1.3 from JUnit instead of 1.1
|
|
|
|
exclude group: 'org.hamcrest', module: 'hamcrest-core'
|
|
|
|
}
|
|
|
|
// Use compileOnly to avoid dependencyConvergence problem with the Guava
|
|
|
|
// pulled in via Truth, for users that don't use Truth. Truth requires a
|
|
|
|
// more up-to-date Guava than we support elsewhere, which would trigger
|
|
|
|
// convergence failures in tests that only our users could resolve. Using
|
|
|
|
// compileOnly means only users using Truth would have the problem and
|
|
|
|
// they'd have to resolve it like normal anyway.
|
|
|
|
compileOnly libraries.truth
|
2016-12-07 01:32:04 +08:00
|
|
|
|
2018-05-01 08:15:52 +08:00
|
|
|
testCompile project(':grpc-testing-proto'),
|
2018-06-12 09:35:18 +08:00
|
|
|
project(':grpc-core').sourceSets.test.output
|
2014-12-16 01:58:05 +08:00
|
|
|
}
|
2017-11-23 08:10:25 +08:00
|
|
|
|
2018-06-12 09:35:18 +08:00
|
|
|
javadoc { exclude 'io/grpc/internal/**' }
|