aboutsummaryrefslogtreecommitdiff
path: root/testing/build.gradle
blob: 4a4805e77e2fe4bb0d8c41be98731487c00163c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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/**' }