blob: abb2bc7a8f22554160db91759aa597bd95089fca [file] [log] [blame]
Eric Andersone23f8992015-04-10 15:40:44 -07001description = 'gRPC: Protobuf'
2
Eric Gribkoff6cf8f052017-03-21 14:03:46 -07003buildscript {
4 repositories {
ZHANG Dapeng5ce10f02018-06-11 18:35:18 -07005 maven { // The google mirror is less flaky than mavenCentral()
6 url "https://maven-central.storage-download.googleapis.com/repos/central/data/" }
Eric Gribkoff6cf8f052017-03-21 14:03:46 -07007 }
ZHANG Dapeng5ce10f02018-06-11 18:35:18 -07008 dependencies { classpath libraries.protobuf_plugin }
Eric Gribkoff6cf8f052017-03-21 14:03:46 -07009}
10
Eric Andersone23f8992015-04-10 15:40:44 -070011dependencies {
12 compile project(':grpc-core'),
13 libraries.protobuf,
Eric Anderson5f0ee3a2018-03-23 15:45:05 -070014 libraries.guava
15
Eric Gribkoff6cf8f052017-03-21 14:03:46 -070016 compile (libraries.google_api_protos) {
Eric Gribkoffdf694852017-05-01 14:43:53 -070017 // 'com.google.api:api-common' transitively depends on auto-value, which breaks our
18 // annotations.
19 exclude group: 'com.google.api', module: 'api-common'
Eric Andersona3ff9cd2017-09-18 16:20:18 -070020 // Prefer our more up-to-date protobuf over 3.2.0
21 exclude group: 'com.google.protobuf', module: 'protobuf-java'
Eric Gribkoff6cf8f052017-03-21 14:03:46 -070022 }
23
Eric Andersona8700a72016-07-29 11:57:41 -070024 compile (project(':grpc-protobuf-lite')) {
25 exclude group: 'com.google.protobuf', module: 'protobuf-lite'
26 }
Eric Anderson22c49912015-08-13 14:39:34 -070027
Eric Gribkoff79b24702018-08-09 09:09:21 -070028 signature "org.codehaus.mojo.signature:java17:1.0@signature"
Eric Anderson22c49912015-08-13 14:39:34 -070029}
Eric Andersonf0efb0f2015-08-18 14:04:30 -070030
31javadoc.options.links 'https://developers.google.com/protocol-buffers/docs/reference/java/'