aboutsummaryrefslogtreecommitdiff
path: root/grpclb/build.gradle
blob: a71a6242f1c6bc04d7ac34cb26c91968d599f33f (plain)
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
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 20.0 from libraries instead of 19.0
        exclude group: 'com.google.guava', module: 'guava'
    }
    compileOnly libraries.javax_annotation
    testCompile libraries.truth,
            project(':grpc-core').sourceSets.test.output
}

configureProtoCompilation()