1*e07d83d3SAndroid Build Coastguard Workerplugins { 2*e07d83d3SAndroid Build Coastguard Worker id "java" 3*e07d83d3SAndroid Build Coastguard Worker id "maven-publish" 4*e07d83d3SAndroid Build Coastguard Worker 5*e07d83d3SAndroid Build Coastguard Worker id "com.google.protobuf" 6*e07d83d3SAndroid Build Coastguard Worker id "me.champeau.gradle.japicmp" 7*e07d83d3SAndroid Build Coastguard Worker id "ru.vyarus.animalsniffer" 8*e07d83d3SAndroid Build Coastguard Worker} 9*e07d83d3SAndroid Build Coastguard Worker 10*e07d83d3SAndroid Build Coastguard Workerdescription = "gRPC: GRPCLB LoadBalancer plugin" 11*e07d83d3SAndroid Build Coastguard Worker 12*e07d83d3SAndroid Build Coastguard Workerdependencies { 13*e07d83d3SAndroid Build Coastguard Worker implementation project(':grpc-core'), 14*e07d83d3SAndroid Build Coastguard Worker project(':grpc-protobuf'), 15*e07d83d3SAndroid Build Coastguard Worker project(':grpc-stub'), 16*e07d83d3SAndroid Build Coastguard Worker libraries.protobuf.java, 17*e07d83d3SAndroid Build Coastguard Worker libraries.protobuf.java.util, 18*e07d83d3SAndroid Build Coastguard Worker libraries.guava 19*e07d83d3SAndroid Build Coastguard Worker runtimeOnly libraries.errorprone.annotations 20*e07d83d3SAndroid Build Coastguard Worker compileOnly libraries.javax.annotation 21*e07d83d3SAndroid Build Coastguard Worker testImplementation libraries.truth, 22*e07d83d3SAndroid Build Coastguard Worker testFixtures(project(':grpc-core')) 23*e07d83d3SAndroid Build Coastguard Worker 24*e07d83d3SAndroid Build Coastguard Worker signature libraries.signature.java 25*e07d83d3SAndroid Build Coastguard Worker} 26*e07d83d3SAndroid Build Coastguard Worker 27*e07d83d3SAndroid Build Coastguard WorkerconfigureProtoCompilation() 28*e07d83d3SAndroid Build Coastguard Worker 29*e07d83d3SAndroid Build Coastguard Workertasks.named("javadoc").configure { 30*e07d83d3SAndroid Build Coastguard Worker exclude 'io/grpc/grpclb/Internal*' 31*e07d83d3SAndroid Build Coastguard Worker} 32*e07d83d3SAndroid Build Coastguard Worker 33*e07d83d3SAndroid Build Coastguard Workertasks.named("jacocoTestReport").configure { 34*e07d83d3SAndroid Build Coastguard Worker classDirectories.from = sourceSets.main.output.collect { 35*e07d83d3SAndroid Build Coastguard Worker fileTree(dir: it, 36*e07d83d3SAndroid Build Coastguard Worker exclude: [ 37*e07d83d3SAndroid Build Coastguard Worker '**/io/grpc/lb/v1/**', 38*e07d83d3SAndroid Build Coastguard Worker ]) 39*e07d83d3SAndroid Build Coastguard Worker } 40*e07d83d3SAndroid Build Coastguard Worker} 41