Skip to content

Commit

Permalink
Add Android example to gradle plugin readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelson Osacky committed Nov 27, 2017
1 parent d349656 commit ef228d4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions plugin-gradle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,19 @@ spotless {
}
```

## Applying to Android Java source
Be sure to add `target "**/*.java` otherwise spotless will not detect Java code inside Android modules.

```gradle
spotless {
java {
// ...
target "**/*.java"
// ...
}
}
```

<a name="groovy"></a>

## Applying to Groovy source
Expand Down

0 comments on commit ef228d4

Please sign in to comment.