Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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

@@ -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"

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