1description = 'OpenCensus gRPC Util' 2 3apply plugin: 'java' 4 5[compileJava, compileTestJava].each() { 6 it.sourceCompatibility = 1.6 7 it.targetCompatibility = 1.6 8} 9 10dependencies { 11 compile project(':opencensus-api') 12 13 compile (libraries.grpc_core) { 14 // Prefer library version. 15 exclude group: 'com.google.errorprone', module: 'error_prone_annotations' 16 17 // Prefer library version. 18 exclude group: 'com.google.code.findbugs', module: 'jsr305' 19 20 // We will always be more up to date. 21 exclude group: 'io.opencensus', module: 'opencensus-api' 22 } 23 24 signature "org.codehaus.mojo.signature:java17:1.0@signature" 25 signature "net.sf.androidscents.signature:android-api-level-14:4.0_r4@signature" 26} 27