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 38 39
|
plugins {
id "java"
id "maven-publish"
id "com.google.protobuf"
id "me.champeau.gradle.japicmp"
}
description = "gRPC: GRPCLB LoadBalancer plugin"
evaluationDependsOn(project(':grpc-core').path)
dependencies {
implementation project(':grpc-core'),
project(':grpc-protobuf'),
project(':grpc-stub'),
libraries.protobuf,
libraries.protobuf_util,
libraries.guava
runtimeOnly libraries.errorprone
compileOnly libraries.javax_annotation
testImplementation libraries.truth,
project(':grpc-core').sourceSets.test.output
}
configureProtoCompilation()
javadoc {
exclude 'io/grpc/grpclb/Internal*'
}
jacocoTestReport {
classDirectories.from = sourceSets.main.output.collect {
fileTree(dir: it,
exclude: [
'**/io/grpc/lb/v1/**',
])
}
}
|