Skip to content

Commit

Permalink
Update dependencies to build with jdk 17 (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
sciencewhiz authored May 30, 2022
1 parent aa1e099 commit 416d09a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ plugins {
id 'com.github.johnrengelman.shadow' version '7.1.1'
id "com.jfrog.artifactory" version "4.16.0"
id "com.diffplug.spotless" version "6.0.5"
id "com.github.spotbugs" version "5.0.3"
id "com.github.spotbugs" version "5.0.7"
id 'maven-publish'
id 'idea'
id 'jacoco'
Expand Down Expand Up @@ -142,6 +142,7 @@ spotless {
}

spotbugs {
excludeFilter = file("$rootDir/findBugsSuppressions.xml")
ignoreFailures.set(false)
showProgress.set(true)
effort.set(com.github.spotbugs.snom.Effort.MAX)
Expand Down Expand Up @@ -169,7 +170,7 @@ spotbugs {
}

jacoco {
toolVersion = "0.8.5"
toolVersion = "0.8.7"
}

tasks.withType(JacocoReport).configureEach {
Expand Down
8 changes: 8 additions & 0 deletions findBugsSuppressions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<FindBugsFilter>
<!-- Reason: https://github.com/spotbugs/spotbugs/issues/2040 -->
<Match>
<Class name="edu.wpi.first.pathweaver.extensions.GameLoaderTest"/>
<Bug pattern="THROWS_METHOD_THROWS_CLAUSE_THROWABLE"/>
</Match>

</FindBugsFilter>

0 comments on commit 416d09a

Please sign in to comment.