blob: c73a9a082d96014632971f0453107e6efac0fee4 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
description = "gRPC: ALTS"
sourceCompatibility = 1.7
targetCompatibility = 1.7
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath libraries.protobuf_plugin
}
}
dependencies {
compile project(':grpc-core'),
project(':grpc-netty'),
project(':grpc-protobuf'),
project(':grpc-stub'),
libraries.lang,
libraries.protobuf
testCompile libraries.guava_testlib,
libraries.junit,
libraries.mockito,
libraries.truth
signature 'org.codehaus.mojo.signature:java17:1.0@signature'
}
configureProtoCompilation()
[compileJava, compileTestJava].each() {
// ALTS retuns a lot of futures that we mostly don't care about.
// protobuf calls valueof. Will be fixed in next release (google/protobuf#4046)
it.options.compilerArgs += ["-Xlint:-deprecation", "-Xep:FutureReturnValueIgnored:OFF"]
}
idea {
module {
sourceDirs += file("${projectDir}/src/generated/main/grpc");
sourceDirs += file("${projectDir}/src/generated/main/java");
}
}
|