ZHANG Dapeng | b7eea7c | 2016-05-20 14:03:29 -0700 | [diff] [blame] | 1 | // Add dependency on the protobuf plugin |
| 2 | buildscript { |
| 3 | repositories { |
ZHANG Dapeng | 5ce10f0 | 2018-06-11 18:35:18 -0700 | [diff] [blame] | 4 | maven { // The google mirror is less flaky than mavenCentral() |
| 5 | url "https://maven-central.storage-download.googleapis.com/repos/central/data/" } |
ZHANG Dapeng | b7eea7c | 2016-05-20 14:03:29 -0700 | [diff] [blame] | 6 | } |
ZHANG Dapeng | 5ce10f0 | 2018-06-11 18:35:18 -0700 | [diff] [blame] | 7 | dependencies { classpath libraries.protobuf_plugin } |
ZHANG Dapeng | b7eea7c | 2016-05-20 14:03:29 -0700 | [diff] [blame] | 8 | } |
| 9 | |
ZHANG Dapeng | b7eea7c | 2016-05-20 14:03:29 -0700 | [diff] [blame] | 10 | description = "gRPC: Services" |
| 11 | |
| 12 | dependencies { |
| 13 | compile project(':grpc-protobuf'), |
| 14 | project(':grpc-stub') |
Carl Mastrangelo | e3f8891 | 2018-05-17 15:48:45 -0700 | [diff] [blame] | 15 | compile (libraries.protobuf_util) { |
| 16 | // prefer 20.0 from libraries instead of 19.0 |
| 17 | exclude group: 'com.google.guava', module: 'guava' |
| 18 | } |
Nathan Herring | 8db8497 | 2018-05-30 21:26:02 +0200 | [diff] [blame] | 19 | compile libraries.re2j |
Carl Mastrangelo | e3f8891 | 2018-05-17 15:48:45 -0700 | [diff] [blame] | 20 | |
Eric Anderson | 4e82e62 | 2018-03-28 17:13:39 -0700 | [diff] [blame] | 21 | compileOnly libraries.javax_annotation |
Spencer Fang | 0191d0d | 2017-12-17 16:21:01 -0800 | [diff] [blame] | 22 | testCompile project(':grpc-testing'), |
| 23 | libraries.netty_epoll // for DomainSocketAddress |
Eric Gribkoff | 79b2470 | 2018-08-09 09:09:21 -0700 | [diff] [blame] | 24 | signature "org.codehaus.mojo.signature:java17:1.0@signature" |
ZHANG Dapeng | b7eea7c | 2016-05-20 14:03:29 -0700 | [diff] [blame] | 25 | } |
| 26 | |
| 27 | configureProtoCompilation() |