1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
plugins {
id "java"
id "maven-publish"
id "jacoco"
}
description = "gRPC: RouteLookupService Loadbalancing plugin"
evaluationDependsOn(project(':grpc-core').path)
dependencies {
implementation project(':grpc-core'),
project(':grpc-protobuf'),
project(':grpc-stub'),
libraries.autovalue_annotation,
libraries.guava
compileOnly libraries.javax_annotation
}
[compileJava].each() {
it.options.compilerArgs += [
// only has AutoValue annotation processor
"-Xlint:-processing",
]
}
javadoc {
// Do not publish javadoc since currently there is no public API.
failOnError false // no public or protected classes found to document
exclude 'io/grpc/lookup/v1/**'
exclude 'io/grpc/rls/internal/**'
exclude 'io/grpc/rls/Internal*'
}
configureProtoCompilation()
|