blob: fd3245b6d8778759ad98eab087ebab0dfed82039 [file] [log] [blame]
nmittlerf8314582015-01-27 10:25:39 -08001description = 'gRPC: Core'
nmittler02c953e2015-01-26 14:03:11 -08002
nathanmittler164b7342014-12-15 09:58:05 -08003dependencies {
Bogdan Drutu482b6512017-07-11 10:13:23 -07004 compile project(':grpc-context'),
Carl Mastrangelo172b2d32017-12-19 12:33:27 -08005 libraries.gson,
Bogdan Drutu482b6512017-07-11 10:13:23 -07006 libraries.guava,
Carl Mastrangelo26a08cd2016-08-18 18:57:50 -07007 libraries.errorprone,
Eric Andersona3ff9cd2017-09-18 16:20:18 -07008 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 Zhang7e534ed2017-09-19 09:22:11 -070016 // prefer 3.0.0 from libraries instead of 3.0.1
17 exclude group: 'com.google.code.findbugs', module: 'jsr305'
Eric Andersona3ff9cd2017-09-18 16:20:18 -070018 // 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 }
sebrightef2ec942017-11-07 12:25:03 -080023 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 Drutu482b6512017-07-11 10:13:23 -070029
Eric Anderson2bde25d2017-11-21 13:20:54 -080030 testCompile project(':grpc-context').sourceSets.test.output,
31 project(':grpc-testing')
Bogdan Drutu482b6512017-07-11 10:13:23 -070032
Eric Andersonc4365612017-06-30 15:25:34 -070033 signature "org.codehaus.mojo.signature:java16:1.1@signature"
nmittler02c953e2015-01-26 14:03:11 -080034}
Kun Zhang687a6f42015-08-17 16:27:03 -070035
Eric Andersoncb53bbf2017-06-16 14:53:51 -070036javadoc {
37 // We want io.grpc.Internal, but not io.grpc.Internal*
38 exclude 'io/grpc/Internal?*.java'
39 exclude 'io/grpc/internal/**'
40}
Eric Anderson6164b7b2017-08-26 17:10:18 -070041
42animalsniffer {
43 // Don't check sourceSets.jmh
44 sourceSets = [sourceSets.main, sourceSets.test]
45}