Skip to content

Commit 8e646ea

Browse files
committed
Configure spotbugs-exclude.xml to exclude THROWS_METHOD_THROWS_RUNTIMEEXCEPTION
1 parent df15c88 commit 8e646ea

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

lib/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ dependencies {
139139
spotbugs {
140140
// LOW|MEDIUM|DEFAULT|HIGH (low = sensitive to even minor mistakes).
141141
reportLevel = com.github.spotbugs.snom.Confidence.valueOf('LOW')
142+
excludeFilter = file("spotbugs-exclude.xml")
142143
}
143144

144145
apply from: rootProject.file('gradle/special-tests.gradle')

lib/spotbugs-exclude.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<FindBugsFilter>
2+
<Match>
3+
<Bug pattern="THROWS_METHOD_THROWS_RUNTIMEEXCEPTION"/>
4+
</Match>
5+
</FindBugsFilter>

0 commit comments

Comments
 (0)