2019-09-08 00:03:53 +08:00
|
|
|
plugins {
|
2020-05-05 07:44:30 +08:00
|
|
|
id "java-library"
|
2019-09-08 00:27:32 +08:00
|
|
|
id "maven-publish"
|
|
|
|
|
2019-09-08 00:03:53 +08:00
|
|
|
id "me.champeau.gradle.jmh"
|
2019-09-08 01:38:58 +08:00
|
|
|
id "ru.vyarus.animalsniffer"
|
2019-09-08 00:03:53 +08:00
|
|
|
}
|
|
|
|
|
2019-04-13 08:37:13 +08:00
|
|
|
description = 'gRPC: API'
|
|
|
|
|
2019-10-03 06:05:44 +08:00
|
|
|
evaluationDependsOn(project(':grpc-context').path)
|
|
|
|
|
2019-04-13 08:37:13 +08:00
|
|
|
dependencies {
|
2020-05-05 07:44:30 +08:00
|
|
|
api project(':grpc-context'),
|
|
|
|
libraries.jsr305
|
2021-06-12 05:01:18 +08:00
|
|
|
implementation libraries.guava,
|
|
|
|
libraries.errorprone
|
2019-04-13 08:37:13 +08:00
|
|
|
|
2020-05-05 07:44:30 +08:00
|
|
|
testImplementation project(':grpc-context').sourceSets.test.output,
|
2019-04-13 08:37:13 +08:00
|
|
|
project(':grpc-testing'),
|
2020-06-04 04:48:02 +08:00
|
|
|
project(':grpc-grpclb')
|
|
|
|
testImplementation (libraries.guava_testlib) {
|
|
|
|
exclude group: 'junit', module: 'junit'
|
|
|
|
}
|
2019-04-13 08:37:13 +08:00
|
|
|
jmh project(':grpc-core')
|
|
|
|
|
|
|
|
signature "org.codehaus.mojo.signature:java17:1.0@signature"
|
2022-01-08 00:13:32 +08:00
|
|
|
signature "net.sf.androidscents.signature:android-api-level-19:4.4.2_r4@signature"
|
2019-04-13 08:37:13 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
javadoc {
|
|
|
|
// We want io.grpc.Internal, but not io.grpc.Internal*
|
|
|
|
exclude 'io/grpc/Internal?*.java'
|
|
|
|
}
|