Skip to content

Commit e47b311

Browse files
committed
Add errorprone checking.
1 parent 5ef007f commit e47b311

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

build.gradle

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,17 @@
1717
* - ASL 2.0: http://www.apache.org/licenses/LICENSE-2.0.txt
1818
*/
1919

20+
plugins {
21+
id("net.ltgt.errorprone") version "0.8.1" apply false
22+
}
23+
2024
apply(plugin: "java");
2125
apply(plugin: "maven");
2226
apply(plugin: "signing");
2327
apply(plugin: "osgi");
2428
apply(plugin: "idea");
2529
apply(plugin: "eclipse");
30+
apply(plugin: "net.ltgt.errorprone");
2631

2732
apply(from: "project.gradle");
2833

@@ -35,6 +40,14 @@ repositories {
3540
mavenCentral();
3641
}
3742

43+
/*
44+
* Add errorprone checking.
45+
*/
46+
dependencies {
47+
errorprone("com.google.errorprone:error_prone_core:2.3.3")
48+
errorproneJavac("com.google.errorprone:javac:9+181-r4173-1")
49+
}
50+
3851
/*
3952
* Necessary! Otherwise TestNG will not be used...
4053
*

0 commit comments

Comments
 (0)