1description = 'OpenCensus Stats Stackdriver Exporter' 2 3[compileJava, compileTestJava].each() { 4 it.sourceCompatibility = 1.7 5 it.targetCompatibility = 1.7 6} 7 8dependencies { 9 compileOnly libraries.auto_value 10 11 compile project(':opencensus-api'), 12 project(':opencensus-contrib-monitored-resource-util'), 13 libraries.google_auth, 14 libraries.guava 15 16 compile (libraries.google_cloud_monitoring) { 17 // Prefer library version. 18 exclude group: 'com.google.guava', module: 'guava' 19 20 // Prefer library version. 21 exclude group: 'com.google.code.findbugs', module: 'jsr305' 22 23 // We will always be more up to date. 24 exclude group: 'io.opencensus', module: 'opencensus-api' 25 } 26 27 testCompile project(':opencensus-api') 28 29 signature "org.codehaus.mojo.signature:java17:1.0@signature" 30}