Home | History | Annotate | Download | only in core
      1 description = 'gRPC: Core'
      2 
      3 dependencies {
      4     compile project(':grpc-context'),
      5             libraries.gson,
      6             libraries.guava,
      7             libraries.errorprone,
      8             libraries.jsr305,
      9             libraries.animalsniffer_annotations
     10     compile (libraries.opencensus_api) {
     11         // prefer 3.0.0 from libraries instead of 3.0.1
     12         exclude group: 'com.google.code.findbugs', module: 'jsr305'
     13         // prefer 20.0 from libraries instead of 19.0
     14         exclude group: 'com.google.guava', module: 'guava'
     15         // we'll always be more up-to-date
     16         exclude group: 'io.grpc', module: 'grpc-context'
     17     }
     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'
     23         // prefer 20.0 from libraries instead of 19.0
     24         exclude group: 'com.google.guava', module: 'guava'
     25     }
     26 
     27     testCompile project(':grpc-context').sourceSets.test.output,
     28             project(':grpc-testing'),
     29             project(':grpc-grpclb'),
     30             libraries.guava_testlib
     31 
     32     signature "org.codehaus.mojo.signature:java17:1.0@signature"
     33     signature "net.sf.androidscents.signature:android-api-level-14:4.0_r4@signature"
     34 }
     35 
     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 }
     41 
     42 animalsniffer {
     43     // Don't check sourceSets.jmh
     44     sourceSets = [
     45         sourceSets.main,
     46         sourceSets.test
     47     ]
     48 }
     49