aboutsummaryrefslogtreecommitdiff
path: root/exporters/trace/jaeger/build.gradle
blob: 252950fa3613cf4b96582f39bb5e670d1a0c5fae (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
27
28
29
30
31
32
33
34
35
36
description = 'OpenCensus Trace Jaeger Exporter'

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

// Docker tests require JDK 8+
sourceSets {
    test {
        java {
            if (!JavaVersion.current().isJava8Compatible()) {
                exclude '**/JaegerExporterHandlerIntegrationTest.java'
            }
        }
    }
}

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

    compile(libraries.jaeger_reporter) {
        // Prefer library version.
        exclude group: 'com.google.guava', module: 'guava'
    }

    testCompile project(':opencensus-api'),
            'org.testcontainers:testcontainers:1.7.0',
            'com.google.http-client:google-http-client-gson:1.23.0'

    // Unless linked to impl, spans will be blank and not exported during integration tests.
    testRuntime project(':opencensus-impl')

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