File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ allprojects {
9090 apply plugin : ' jacoco'
9191 apply plugin : ' net.ltgt.errorprone'
9292 apply plugin : ' checkstyle'
93+ apply plugin : ' findbugs'
9394
9495 configurations. errorprone {
9596 resolutionStrategy. force ' com.google.errorprone:error_prone_core:2.0.9'
@@ -106,6 +107,17 @@ allprojects {
106107 it. dependsOn = []
107108 }
108109
110+ tasks. withType(FindBugs ) {
111+ it. dependsOn = []
112+ }
113+
114+ findbugs {
115+ // toolVersion = "2.0.1"
116+ sourceSets = [sourceSets. main]
117+ excludeFilter = new File (rootDir, " findBugsSuppressions.xml" )
118+ effort = " max"
119+ }
120+
109121 repositories {
110122 mavenCentral()
111123 jcenter()
Original file line number Diff line number Diff line change 1+ <FindBugsFilter >
2+ <Match >
3+ <Package name =" ~edu\.wpi\.grip\.generated.*" />
4+ </Match >
5+ <Match >
6+ <Bug pattern =" RV_RETURN_VALUE_IGNORED_BAD_PRACTICE" />
7+ </Match >
8+ </FindBugsFilter >
You can’t perform that action at this time.
0 commit comments