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 Anderson | a3ff9cd | 2017-09-18 16:20:18 -0700 | [diff] [blame] | 8 | libraries.jsr305 |
| 9 | compile (libraries.instrumentation_api) { |
| 10 | // prefer 2.0.19 from libraries instead of 2.0.11 |
| 11 | exclude group: 'com.google.errorprone', module: 'error_prone_annotations' |
| 12 | // we'll always be more up-to-date |
| 13 | exclude group: 'io.grpc', module: 'grpc-context' |
| 14 | } |
| 15 | compile (libraries.opencensus_api) { |
Kun Zhang | 7e534ed | 2017-09-19 09:22:11 -0700 | [diff] [blame] | 16 | // prefer 3.0.0 from libraries instead of 3.0.1 |
| 17 | exclude group: 'com.google.code.findbugs', module: 'jsr305' |
Eric Anderson | a3ff9cd | 2017-09-18 16:20:18 -0700 | [diff] [blame] | 18 | // prefer 2.0.19 from libraries instead of 2.0.11 |
| 19 | exclude group: 'com.google.errorprone', module: 'error_prone_annotations' |
| 20 | // we'll always be more up-to-date |
| 21 | exclude group: 'io.grpc', module: 'grpc-context' |
| 22 | } |
sebright | ef2ec94 | 2017-11-07 12:25:03 -0800 | [diff] [blame] | 23 | compile (libraries.opencensus_contrib_grpc_metrics) { |
| 24 | // prefer 3.0.0 from libraries instead of 3.0.1 |
| 25 | exclude group: 'com.google.code.findbugs', module: 'jsr305' |
| 26 | // we'll always be more up-to-date |
| 27 | exclude group: 'io.grpc', module: 'grpc-context' |
| 28 | } |
Bogdan Drutu | 482b651 | 2017-07-11 10:13:23 -0700 | [diff] [blame] | 29 | |
Eric Anderson | 2bde25d | 2017-11-21 13:20:54 -0800 | [diff] [blame] | 30 | testCompile project(':grpc-context').sourceSets.test.output, |
| 31 | project(':grpc-testing') |
Bogdan Drutu | 482b651 | 2017-07-11 10:13:23 -0700 | [diff] [blame] | 32 | |
Eric Anderson | c436561 | 2017-06-30 15:25:34 -0700 | [diff] [blame] | 33 | signature "org.codehaus.mojo.signature:java16:1.1@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 |
| 44 | sourceSets = [sourceSets.main, sourceSets.test] |
| 45 | } |