Skip to content

Conversation

@KengoTODA
Copy link
Member

#252 introduced android plugin support, then we can check the last checkbox in README.md.
This PR also add a short description about the usage of this plugin for Android project.

close #90

@KengoTODA KengoTODA self-assigned this Jun 6, 2020
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jun 6, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information


TBU
Apply this plugin with the `com.android.application` plugin or `com.android.library` plugin to your project,
then [`SpotBugsTask`](https://spotbugs-gradle-plugin.netlify.com/com/github/spotbugs/snom/spotbugstask) will be generated for each existing variant.
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd just like to point out that the tasks are only created for the production code variants on the Android projects. In Java projects, both production and test source sets gets corresponding tasks. It's relatively easy to do the same thing for Android projects.

Copy link
Member Author

Choose a reason for hiding this comment

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

It would be better to do it 👍, could you suggest the change making it possible?

I guess we need to use TestExtension, AppExtension#testVariants or AppExtension#unitTestVariants but not so sure.

@hazendaz
Copy link
Member

@KengoTODA You moving forward on this? Its been 3 years :)

@KengoTODA
Copy link
Member Author

Still waiting for help from community... I'm not Android dev so I can't make a progress on this topic by my own. Hope that somebody will help us at the pinned issue #90

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.

Unable to use Spotbugs in Android application

4 participants