File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 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+
2024apply(plugin : " java" );
2125apply(plugin : " maven" );
2226apply(plugin : " signing" );
2327apply(plugin : " osgi" );
2428apply(plugin : " idea" );
2529apply(plugin : " eclipse" );
30+ apply(plugin : " net.ltgt.errorprone" );
2631
2732apply(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 *
@@ -116,7 +129,7 @@ task checkSigningRequirements {
116129 requiredProperties. each {
117130 if (project. properties[it] == null ) {
118131 noDice = true ;
119- System . err. printf (" property \" %s\" is not defined!" )
132+ System . err. printf (" property \" %s\" is not defined!\n " )
120133 }
121134 }
122135 if (noDice)
You can’t perform that action at this time.
0 commit comments