2020-01-14 06:35:29 +08:00
|
|
|
plugins {
|
2020-05-05 07:44:30 +08:00
|
|
|
id "java-library"
|
2020-01-14 06:35:29 +08:00
|
|
|
id "maven-publish"
|
2022-08-11 03:41:57 +08:00
|
|
|
|
|
|
|
id "ru.vyarus.animalsniffer"
|
2020-01-14 06:35:29 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
description = 'gRPC: Census'
|
|
|
|
|
2023-07-26 00:00:11 +08:00
|
|
|
tasks.named("jar").configure {
|
|
|
|
manifest {
|
|
|
|
attributes('Automatic-Module-Name': 'io.grpc.census')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-14 06:35:29 +08:00
|
|
|
dependencies {
|
2020-05-05 07:44:30 +08:00
|
|
|
api project(':grpc-api')
|
2023-06-29 09:28:30 +08:00
|
|
|
// force dependent jars to depend on latest grpc-context
|
|
|
|
runtimeOnly project(":grpc-context")
|
2021-06-12 05:01:18 +08:00
|
|
|
implementation libraries.guava,
|
2024-03-12 05:00:12 +08:00
|
|
|
project(":grpc-context"), // Override opencensus dependency with our newer version
|
2022-06-14 03:09:30 +08:00
|
|
|
libraries.opencensus.api,
|
|
|
|
libraries.opencensus.contrib.grpc.metrics
|
2020-05-02 13:59:28 +08:00
|
|
|
|
2023-05-17 03:10:13 +08:00
|
|
|
testImplementation testFixtures(project(':grpc-api')),
|
|
|
|
testFixtures(project(':grpc-core')),
|
2020-01-14 06:35:29 +08:00
|
|
|
project(':grpc-testing'),
|
2022-06-14 03:09:30 +08:00
|
|
|
libraries.opencensus.impl
|
2022-08-11 03:41:57 +08:00
|
|
|
|
|
|
|
signature libraries.signature.java
|
|
|
|
signature libraries.signature.android
|
2020-01-14 06:35:29 +08:00
|
|
|
}
|
|
|
|
|
2022-07-02 06:48:38 +08:00
|
|
|
tasks.named("javadoc").configure {
|
2020-01-14 06:35:29 +08:00
|
|
|
failOnError false // no public or protected classes found to document
|
|
|
|
exclude 'io/grpc/census/internal/**'
|
|
|
|
exclude 'io/grpc/census/Internal*'
|
|
|
|
}
|