1description = 'OpenCensus Trace Jaeger Exporter' 2 3[compileJava, compileTestJava].each() { 4 it.sourceCompatibility = 1.6 5 it.targetCompatibility = 1.6 6} 7 8// Docker tests require JDK 8+ 9sourceSets { 10 test { 11 java { 12 if (!JavaVersion.current().isJava8Compatible()) { 13 exclude '**/JaegerExporterHandlerIntegrationTest.java' 14 } 15 } 16 } 17} 18 19dependencies { 20 compile project(':opencensus-api'), 21 libraries.guava 22 23 compile(libraries.jaeger_reporter) { 24 // Prefer library version. 25 exclude group: 'com.google.guava', module: 'guava' 26 } 27 28 testCompile project(':opencensus-api'), 29 'org.testcontainers:testcontainers:1.7.0', 30 'com.google.http-client:google-http-client-gson:1.23.0' 31 32 // Unless linked to impl, spans will be blank and not exported during integration tests. 33 testRuntime project(':opencensus-impl') 34 35 signature "org.codehaus.mojo.signature:java17:1.0@signature" 36 signature "net.sf.androidscents.signature:android-api-level-14:4.0_r4@signature" 37} 38