| plugins { |
| id "java" |
| id "maven-publish" |
| |
| id "me.champeau.gradle.jmh" |
| id "ru.vyarus.animalsniffer" |
| } |
| |
| description = 'gRPC: API' |
| |
| dependencies { |
| compile project(':grpc-context'), |
| libraries.errorprone, |
| libraries.jsr305, |
| libraries.animalsniffer_annotations |
| compile (libraries.guava) { |
| // prefer 2.3.3 from libraries instead of 2.1.3 |
| exclude group: 'com.google.errorprone', module: 'error_prone_annotations' |
| // prefer 3.0.2 from libraries instead of 3.0.1 |
| exclude group: 'com.google.code.findbugs', module: 'jsr305' |
| // prefer 1.17 from libraries instead of 1.14 |
| exclude group: 'org.codehaus.mojo', module: 'animal-sniffer-annotations' |
| } |
| |
| testCompile project(':grpc-context').sourceSets.test.output, |
| project(':grpc-testing'), |
| project(':grpc-grpclb'), |
| libraries.guava_testlib |
| |
| jmh project(':grpc-core') |
| |
| signature "org.codehaus.mojo.signature:java17:1.0@signature" |
| signature "net.sf.androidscents.signature:android-api-level-14:4.0_r4@signature" |
| } |
| |
| javadoc { |
| // We want io.grpc.Internal, but not io.grpc.Internal* |
| exclude 'io/grpc/Internal?*.java' |
| } |