blob: 3902744f16984b6e994051c66977833a03d0857c [file] [log] [blame]
nmittlerf8314582015-01-27 10:25:39 -08001description = "gRPC: Testing"
Joey Brattonb6ebede2016-12-06 12:32:04 -05002
nathanmittler164b7342014-12-15 09:58:05 -08003dependencies {
Eric Andersonb17a2492016-02-06 22:47:35 -08004 compile project(':grpc-core'),
5 project(':grpc-stub'),
Eric Andersona3ff9cd2017-09-18 16:20:18 -07006 libraries.junit
7 compile (libraries.mockito) {
8 // prefer 1.3 from JUnit instead of 1.1
9 exclude group: 'org.hamcrest', module: 'hamcrest-core'
10 }
11 // Use compileOnly to avoid dependencyConvergence problem with the Guava
12 // pulled in via Truth, for users that don't use Truth. Truth requires a
13 // more up-to-date Guava than we support elsewhere, which would trigger
14 // convergence failures in tests that only our users could resolve. Using
15 // compileOnly means only users using Truth would have the problem and
16 // they'd have to resolve it like normal anyway.
17 compileOnly libraries.truth
Joey Brattonb6ebede2016-12-06 12:32:04 -050018
19 testCompile project(':grpc-testing-proto')
nathanmittler164b7342014-12-15 09:58:05 -080020}
ZHANG Dapeng6c653862017-11-22 16:10:25 -080021
22javadoc {
23 exclude 'io/grpc/internal/**'
24}