Skip to content

Commit

Permalink
docs: introduce how to use SpotBugs in the Android project
Browse files Browse the repository at this point in the history
close #90
  • Loading branch information
KengoTODA committed Jun 6, 2020
1 parent b6a6d92 commit 6452da6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This Gradle plugin is designed to solve the following problems in the legacy plu
- [x] Remove any dependency on the Gradle's internal API
- [x] Solve mutability problem for the build contains multiple projects and/or sourceSet
- [x] Native Support for [the Parallel Build](https://guides.gradle.org/using-the-worker-api/)
- [ ] Native Support for [the Android project](https://developer.android.com/studio/build/gradle-tips)
- [x] Native Support for [the Android project](https://developer.android.com/studio/build/gradle-tips)
- [x] Missing user document about how to use extension and task

## Usage
Expand Down Expand Up @@ -73,7 +73,10 @@ If you want to create and configure `SpotBugsTask` by own, apply the base plugin

### Apply to Android project

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.

If you want to create and configure `SpotBugsTask` by own, apply the base plugin (`com.github.spotbugs-base`) instead, then it won't create tasks automatically.

### Configure the SpotBugsTask

Expand Down

0 comments on commit 6452da6

Please sign in to comment.