nmittler | f831458 | 2015-01-27 10:25:39 -0800 | [diff] [blame] | 1 | description = 'gRPC: Core' |
nmittler | 02c953e | 2015-01-26 14:03:11 -0800 | [diff] [blame] | 2 | |
nathanmittler | 164b734 | 2014-12-15 09:58:05 -0800 | [diff] [blame] | 3 | dependencies { |
Bogdan Drutu | 482b651 | 2017-07-11 10:13:23 -0700 | [diff] [blame] | 4 | compile project(':grpc-context'), |
Carl Mastrangelo | 172b2d3 | 2017-12-19 12:33:27 -0800 | [diff] [blame] | 5 | libraries.gson, |
Bogdan Drutu | 482b651 | 2017-07-11 10:13:23 -0700 | [diff] [blame] | 6 | libraries.guava, |
Carl Mastrangelo | 26a08cd | 2016-08-18 18:57:50 -0700 | [diff] [blame] | 7 | libraries.errorprone, |
Eric Gribkoff | 79b2470 | 2018-08-09 09:09:21 -0700 | [diff] [blame^] | 8 | libraries.jsr305, |
| 9 | libraries.animalsniffer_annotations |
Eric Anderson | a3ff9cd | 2017-09-18 16:20:18 -0700 | [diff] [blame] | 10 | compile (libraries.opencensus_api) { |
Kun Zhang | 7e534ed | 2017-09-19 09:22:11 -0700 | [diff] [blame] | 11 | // prefer 3.0.0 from libraries instead of 3.0.1 |
| 12 | exclude group: 'com.google.code.findbugs', module: 'jsr305' |
Eric Anderson | 5f0ee3a | 2018-03-23 15:45:05 -0700 | [diff] [blame] | 13 | // prefer 20.0 from libraries instead of 19.0 |
| 14 | exclude group: 'com.google.guava', module: 'guava' |
Eric Anderson | a3ff9cd | 2017-09-18 16:20:18 -0700 | [diff] [blame] | 15 | // we'll always be more up-to-date |
| 16 | exclude group: 'io.grpc', module: 'grpc-context' |
| 17 | } |
sebright | ef2ec94 | 2017-11-07 12:25:03 -0800 | [diff] [blame] | 18 | compile (libraries.opencensus_contrib_grpc_metrics) { |
| 19 | // prefer 3.0.0 from libraries instead of 3.0.1 |
| 20 | exclude group: 'com.google.code.findbugs', module: 'jsr305' |
| 21 | // we'll always be more up-to-date |
| 22 | exclude group: 'io.grpc', module: 'grpc-context' |
Eric Anderson | 5f0ee3a | 2018-03-23 15:45:05 -0700 | [diff] [blame] | 23 | // prefer 20.0 from libraries instead of 19.0 |
| 24 | exclude group: 'com.google.guava', module: 'guava' |
sebright | ef2ec94 | 2017-11-07 12:25:03 -0800 | [diff] [blame] | 25 | } |
Bogdan Drutu | 482b651 | 2017-07-11 10:13:23 -0700 | [diff] [blame] | 26 | |
Eric Anderson | 2bde25d | 2017-11-21 13:20:54 -0800 | [diff] [blame] | 27 | testCompile project(':grpc-context').sourceSets.test.output, |
Carl Mastrangelo | 81da3eb | 2018-06-26 13:36:02 -0700 | [diff] [blame] | 28 | project(':grpc-testing'), |
Eric Anderson | 9d6241e | 2018-07-02 10:47:40 -0700 | [diff] [blame] | 29 | project(':grpc-grpclb'), |
| 30 | libraries.guava_testlib |
Bogdan Drutu | 482b651 | 2017-07-11 10:13:23 -0700 | [diff] [blame] | 31 | |
Eric Gribkoff | 79b2470 | 2018-08-09 09:09:21 -0700 | [diff] [blame^] | 32 | signature "org.codehaus.mojo.signature:java17:1.0@signature" |
| 33 | signature "net.sf.androidscents.signature:android-api-level-14:4.0_r4@signature" |
nmittler | 02c953e | 2015-01-26 14:03:11 -0800 | [diff] [blame] | 34 | } |
Kun Zhang | 687a6f4 | 2015-08-17 16:27:03 -0700 | [diff] [blame] | 35 | |
Eric Anderson | cb53bbf | 2017-06-16 14:53:51 -0700 | [diff] [blame] | 36 | javadoc { |
| 37 | // We want io.grpc.Internal, but not io.grpc.Internal* |
| 38 | exclude 'io/grpc/Internal?*.java' |
| 39 | exclude 'io/grpc/internal/**' |
| 40 | } |
Eric Anderson | 6164b7b | 2017-08-26 17:10:18 -0700 | [diff] [blame] | 41 | |
| 42 | animalsniffer { |
| 43 | // Don't check sourceSets.jmh |
ZHANG Dapeng | 5ce10f0 | 2018-06-11 18:35:18 -0700 | [diff] [blame] | 44 | sourceSets = [ |
| 45 | sourceSets.main, |
| 46 | sourceSets.test |
| 47 | ] |
Eric Anderson | 6164b7b | 2017-08-26 17:10:18 -0700 | [diff] [blame] | 48 | } |