1*e07d83d3SAndroid Build Coastguard Workerplugins { 2*e07d83d3SAndroid Build Coastguard Worker id "java-library" 3*e07d83d3SAndroid Build Coastguard Worker id "java-test-fixtures" 4*e07d83d3SAndroid Build Coastguard Worker id "maven-publish" 5*e07d83d3SAndroid Build Coastguard Worker 6*e07d83d3SAndroid Build Coastguard Worker id "me.champeau.jmh" 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: API' 11*e07d83d3SAndroid Build Coastguard Worker 12*e07d83d3SAndroid Build Coastguard Workerdependencies { 13*e07d83d3SAndroid Build Coastguard Worker api project(':grpc-context'), 14*e07d83d3SAndroid Build Coastguard Worker libraries.jsr305, 15*e07d83d3SAndroid Build Coastguard Worker libraries.errorprone.annotations 16*e07d83d3SAndroid Build Coastguard Worker implementation libraries.guava 17*e07d83d3SAndroid Build Coastguard Worker 18*e07d83d3SAndroid Build Coastguard Worker testFixturesImplementation libraries.guava, 19*e07d83d3SAndroid Build Coastguard Worker libraries.junit, 20*e07d83d3SAndroid Build Coastguard Worker libraries.mockito.core 21*e07d83d3SAndroid Build Coastguard Worker testImplementation testFixtures(project(':grpc-context')), 22*e07d83d3SAndroid Build Coastguard Worker project(':grpc-testing'), 23*e07d83d3SAndroid Build Coastguard Worker project(':grpc-grpclb') 24*e07d83d3SAndroid Build Coastguard Worker testImplementation (libraries.guava.testlib) { 25*e07d83d3SAndroid Build Coastguard Worker exclude group: 'junit', module: 'junit' 26*e07d83d3SAndroid Build Coastguard Worker } 27*e07d83d3SAndroid Build Coastguard Worker jmh project(':grpc-core') 28*e07d83d3SAndroid Build Coastguard Worker 29*e07d83d3SAndroid Build Coastguard Worker signature libraries.signature.java 30*e07d83d3SAndroid Build Coastguard Worker signature libraries.signature.android 31*e07d83d3SAndroid Build Coastguard Worker} 32*e07d83d3SAndroid Build Coastguard Worker 33*e07d83d3SAndroid Build Coastguard Workertasks.named("javadoc").configure { 34*e07d83d3SAndroid Build Coastguard Worker // We want io.grpc.Internal, but not io.grpc.Internal* 35*e07d83d3SAndroid Build Coastguard Worker exclude 'io/grpc/Internal?*.java' 36*e07d83d3SAndroid Build Coastguard Worker} 37*e07d83d3SAndroid Build Coastguard Worker 38*e07d83d3SAndroid Build Coastguard Workercomponents.java.withVariantsFromConfiguration(configurations.testFixturesApiElements) { skip() } 39*e07d83d3SAndroid Build Coastguard Workercomponents.java.withVariantsFromConfiguration(configurations.testFixturesRuntimeElements) { skip() } 40