Skip to content

Conversation

evan-denerley-intrepid
Copy link

Android studio 4.0.0 requires a gradle-wrapper version of 6.1.1 and up. Gradle V6 deprecates FindBugs in favor of SpotBugs

staticAnalysis {
pmdVersion // default: "5.5.1"
findbugsVersion // default: "3.0.1"
spotbugsVersion // default: "3.0.1"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines +81 to +84
spotBugsEffort // default: "max"
spotBugsReportLevel // default: "medium"
spotBugsClasses // default: files("${project.buildDir}/intermediates/classes")
spotBugsExcludeFilterFile

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

Copy link
Contributor

@gdaniels gdaniels left a 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants