-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Spotbugs Plugin and Gradle Wrapper -> V6.4.1 #18
base: master
Are you sure you want to change the base?
Conversation
@@ -70,29 +70,29 @@ The following configurations can be set in the app `build.gradle` to override th | |||
``` | |||
staticAnalysis { | |||
pmdVersion // default: "5.5.1" | |||
findbugsVersion // default: "3.0.1" | |||
spotbugsVersion // default: "3.0.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3.0.1 isn't a version listed on https://plugins.gradle.org/plugin/com.github.spotbugs.
spotBugsEffort // default: "max" | ||
spotBugsReportLevel // default: "medium" | ||
spotBugsClasses // default: files("${project.buildDir}/intermediates/classes") | ||
spotBugsExcludeFilterFile |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All these changes should be reflected in the StaticAnalysisExtension.kt
and StaticAnalysis.kt
files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops, should have looked more closely (and run it!) before approving.
There are a number of dangling references to findBugs which should be cleaned up, and as Brendan points out we should update the Kotlin files as well.
Android studio 4.0.0 requires a gradle-wrapper version of 6.1.1 and up. Gradle V6 deprecates FindBugs in favor of SpotBugs