forked from grpc/grpc-java
-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
27 lines (24 loc) · 938 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
description = "gRPC: GRPCLB LoadBalancer plugin"
buildscript {
repositories {
maven { // The google mirror is less flaky than mavenCentral()
url "https://maven-central.storage-download.googleapis.com/repos/central/data/" }
}
dependencies { classpath libraries.protobuf_plugin }
}
dependencies {
compile project(':grpc-core'),
project(':grpc-protobuf'),
project(':grpc-stub'),
libraries.protobuf
compile (libraries.protobuf_util) {
// prefer 26.0-android from libraries instead of 20.0
exclude group: 'com.google.guava', module: 'guava'
// prefer 2.3.3 from libraries instead of 2.3.2
exclude group: 'com.google.errorprone', module: 'error_prone_annotations'
}
compileOnly libraries.javax_annotation
testCompile libraries.truth,
project(':grpc-core').sourceSets.test.output
}
configureProtoCompilation()