mirror of https://github.com/grpc/grpc-java.git
40 lines
1.2 KiB
Groovy
40 lines
1.2 KiB
Groovy
plugins {
|
|
id "java"
|
|
id "maven-publish"
|
|
|
|
id "me.champeau.gradle.jmh"
|
|
id "ru.vyarus.animalsniffer"
|
|
}
|
|
|
|
description = 'gRPC: API'
|
|
|
|
evaluationDependsOn(project(':grpc-context').path)
|
|
|
|
dependencies {
|
|
compile project(':grpc-context'),
|
|
libraries.errorprone,
|
|
libraries.jsr305,
|
|
libraries.animalsniffer_annotations
|
|
compile (libraries.guava) {
|
|
// prefer our own versions from libraries instead of Guava's dependency
|
|
exclude group: 'com.google.errorprone', module: 'error_prone_annotations'
|
|
exclude group: 'com.google.code.findbugs', module: 'jsr305'
|
|
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'
|
|
}
|