• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Add dependency on the protobuf plugin
2buildscript {
3    repositories {
4        maven { // The google mirror is less flaky than mavenCentral()
5            url "https://maven-central.storage-download.googleapis.com/repos/central/data/" }
6    }
7    dependencies { classpath libraries.protobuf_plugin }
8}
9
10description = "gRPC: Services"
11
12dependencies {
13    compile project(':grpc-protobuf'),
14            project(':grpc-stub')
15    compile (libraries.protobuf_util) {
16        // prefer 20.0 from libraries instead of 19.0
17        exclude group: 'com.google.guava', module: 'guava'
18    }
19    compile libraries.re2j
20
21    compileOnly libraries.javax_annotation
22    testCompile project(':grpc-testing'),
23            libraries.netty_epoll // for DomainSocketAddress
24    signature "org.codehaus.mojo.signature:java17:1.0@signature"
25}
26
27configureProtoCompilation()
28