nmittler | f831458 | 2015-01-27 10:25:39 -0800 | [diff] [blame] | 1 | description = "gRPC: Testing" |
Joey Bratton | b6ebede | 2016-12-06 12:32:04 -0500 | [diff] [blame] | 2 | |
nathanmittler | 164b734 | 2014-12-15 09:58:05 -0800 | [diff] [blame] | 3 | dependencies { |
Eric Anderson | b17a249 | 2016-02-06 22:47:35 -0800 | [diff] [blame] | 4 | compile project(':grpc-core'), |
| 5 | project(':grpc-stub'), |
Eric Anderson | a3ff9cd | 2017-09-18 16:20:18 -0700 | [diff] [blame] | 6 | 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 Bratton | b6ebede | 2016-12-06 12:32:04 -0500 | [diff] [blame] | 18 | |
ZHANG Dapeng | 02c4fa0 | 2018-04-30 17:15:52 -0700 | [diff] [blame] | 19 | testCompile project(':grpc-testing-proto'), |
ZHANG Dapeng | 5ce10f0 | 2018-06-11 18:35:18 -0700 | [diff] [blame^] | 20 | project(':grpc-core').sourceSets.test.output |
nathanmittler | 164b734 | 2014-12-15 09:58:05 -0800 | [diff] [blame] | 21 | } |
ZHANG Dapeng | 6c65386 | 2017-11-22 16:10:25 -0800 | [diff] [blame] | 22 | |
ZHANG Dapeng | 5ce10f0 | 2018-06-11 18:35:18 -0700 | [diff] [blame^] | 23 | javadoc { exclude 'io/grpc/internal/**' } |