mirror of https://github.com/grpc/grpc-java.git
39 lines
1.0 KiB
Groovy
39 lines
1.0 KiB
Groovy
plugins {
|
|
id "java-library"
|
|
id "maven-publish"
|
|
|
|
id "ru.vyarus.animalsniffer"
|
|
}
|
|
|
|
description = 'gRPC: Census'
|
|
|
|
tasks.named("jar").configure {
|
|
manifest {
|
|
attributes('Automatic-Module-Name': 'io.grpc.census')
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api project(':grpc-api')
|
|
// force dependent jars to depend on latest grpc-context
|
|
runtimeOnly project(":grpc-context")
|
|
implementation libraries.guava,
|
|
project(":grpc-context"), // Override opencensus dependency with our newer version
|
|
libraries.opencensus.api,
|
|
libraries.opencensus.contrib.grpc.metrics
|
|
|
|
testImplementation testFixtures(project(':grpc-api')),
|
|
testFixtures(project(':grpc-core')),
|
|
project(':grpc-testing'),
|
|
libraries.opencensus.impl
|
|
|
|
signature libraries.signature.java
|
|
signature libraries.signature.android
|
|
}
|
|
|
|
tasks.named("javadoc").configure {
|
|
failOnError false // no public or protected classes found to document
|
|
exclude 'io/grpc/census/internal/**'
|
|
exclude 'io/grpc/census/Internal*'
|
|
}
|