blob: 4a4805e77e2fe4bb0d8c41be98731487c00163c7 [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
ZHANG Dapeng02c4fa02018-04-30 17:15:52 -070019 testCompile project(':grpc-testing-proto'),
ZHANG Dapeng5ce10f02018-06-11 18:35:18 -070020 project(':grpc-core').sourceSets.test.output
nathanmittler164b7342014-12-15 09:58:05 -080021}
ZHANG Dapeng6c653862017-11-22 16:10:25 -080022
ZHANG Dapeng5ce10f02018-06-11 18:35:18 -070023javadoc { exclude 'io/grpc/internal/**' }