-
Notifications
You must be signed in to change notification settings - Fork 3.8k
/
build.gradle
40 lines (32 loc) · 1.16 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
plugins {
id "java-library"
id "maven-publish"
id "me.champeau.gradle.japicmp"
id "ru.vyarus.animalsniffer"
}
description = "gRPC: Testing"
dependencies {
api project(':grpc-util'),
project(':grpc-stub'),
libraries.junit
implementation project(':grpc-inprocess')
implementation project(':grpc-core')
// Only io.grpc.internal.testing.StatsTestUtils depends on opencensus_api, for internal use.
compileOnly libraries.opencensus.api,
project(":grpc-context") // Override opencensus dependency with our newer version
runtimeOnly project(":grpc-api") // Pull in newer version than census-api
testImplementation libraries.mockito.core
testImplementation project(':grpc-testing-proto'),
testFixtures(project(':grpc-core'))
signature libraries.signature.java
signature libraries.signature.android
}
tasks.named("javadoc").configure { exclude 'io/grpc/internal/**' }
tasks.named("jacocoTestReport").configure {
classDirectories.from = sourceSets.main.output.collect {
fileTree(dir: it,
exclude: [
'**/io/grpc/internal/testing/**',
])
}
}