-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathbuild.gradle
More file actions
37 lines (32 loc) · 854 Bytes
/
build.gradle
File metadata and controls
37 lines (32 loc) · 854 Bytes
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
import net.ltgt.gradle.errorprone.CheckSeverity
buildscript {
repositories {
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'net.ltgt.gradle:gradle-errorprone-plugin:0.6'
}
}
apply plugin: 'java'
apply plugin: 'net.ltgt.errorprone'
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compile 'io.grpc:grpc-core:1.17.1'
annotationProcessor 'io.grpc:grpc-java-api-checker:1.1.0'
errorproneJavac 'com.google.errorprone:javac:9+181-r4173-1'
errorprone 'com.google.errorprone:error_prone_core:2.3.2'
}
compileJava {
// you can specify the settings
options.errorprone {
disableAllChecks = true
check("GrpcExperimentalApi", CheckSeverity.ERROR)
check("GrpcInternal", CheckSeverity.ERROR)
}
}