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