1description = 'gRPC: Protobuf' 2 3buildscript { 4 repositories { 5 maven { // The google mirror is less flaky than mavenCentral() 6 url "https://maven-central.storage-download.googleapis.com/repos/central/data/" } 7 } 8 dependencies { classpath libraries.protobuf_plugin } 9} 10 11dependencies { 12 compile project(':grpc-core'), 13 libraries.protobuf, 14 libraries.guava 15 16 compile (libraries.google_api_protos) { 17 // 'com.google.api:api-common' transitively depends on auto-value, which breaks our 18 // annotations. 19 exclude group: 'com.google.api', module: 'api-common' 20 // Prefer our more up-to-date protobuf over 3.2.0 21 exclude group: 'com.google.protobuf', module: 'protobuf-java' 22 } 23 24 compile (project(':grpc-protobuf-lite')) { 25 exclude group: 'com.google.protobuf', module: 'protobuf-lite' 26 } 27 28 signature "org.codehaus.mojo.signature:java17:1.0@signature" 29} 30 31javadoc.options.links 'https://developers.google.com/protocol-buffers/docs/reference/java/' 32