Skip to content

Commit

Permalink
Add Android example to gradle plugin readme.
Browse files Browse the repository at this point in the history
Ref #111
  • Loading branch information
Nelson Osacky committed Nov 27, 2017
1 parent d349656 commit a530a72
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 @@ -122,6 +122,19 @@ See [ECLIPSE_SCREENSHOTS](../ECLIPSE_SCREENSHOTS.md) for screenshots that demons

<a name="google-java-format"></a>

### 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'
// ...
}
}
```

## Applying to Java source ([google-java-format](https://github.com/google/google-java-format))

```gradle
Expand Down

0 comments on commit a530a72

Please sign in to comment.