aboutsummaryrefslogtreecommitdiff
path: root/contrib/grpc_util/build.gradle
blob: ecc347d34ee3fa6021caf2dc456b0292decc8986 (plain)
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
description = 'OpenCensus gRPC Util'

apply plugin: 'java'

[compileJava, compileTestJava].each() {
    it.sourceCompatibility = 1.6
    it.targetCompatibility = 1.6
}

dependencies {
    compile project(':opencensus-api')

    compile (libraries.grpc_core) {
        // Prefer library version.
        exclude group: 'com.google.errorprone', module: 'error_prone_annotations'

        // Prefer library version.
        exclude group: 'com.google.code.findbugs', module: 'jsr305'

        // We will always be more up to date.
        exclude group: 'io.opencensus', module: 'opencensus-api'
    }

    signature "org.codehaus.mojo.signature:java17:1.0@signature"
    signature "net.sf.androidscents.signature:android-api-level-14:4.0_r4@signature"
}