Files
rk35xx-android14/external/grpc-grpc-java/testing/build.gradle
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

24 lines
914 B
Groovy

description = "gRPC: Testing"
dependencies {
compile project(':grpc-core'),
project(':grpc-stub'),
libraries.junit
compile (libraries.mockito) {
// prefer 1.3 from JUnit instead of 1.1
exclude group: 'org.hamcrest', module: 'hamcrest-core'
}
// Use compileOnly to avoid dependencyConvergence problem with the Guava
// pulled in via Truth, for users that don't use Truth. Truth requires a
// more up-to-date Guava than we support elsewhere, which would trigger
// convergence failures in tests that only our users could resolve. Using
// compileOnly means only users using Truth would have the problem and
// they'd have to resolve it like normal anyway.
compileOnly libraries.truth
testCompile project(':grpc-testing-proto'),
project(':grpc-core').sourceSets.test.output
}
javadoc { exclude 'io/grpc/internal/**' }