diffplug / diffplug/spotless

Automatic Android support without specifying target "src/*/java/**/*.java"

Open
#111 33 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
5.6k
Forks
559
Avg merge
1d 13h
Merged PRs (30d)
34

Description

Does this support Android?

---
EDIT BY @nedtwigg, TOP COMMENT FOR VISIBILITY

On Android, your config file needs to look like this:

```gradle
spotless {
java {
target "src/*/java/**/*.java" // this line is needed
}
}
```

We'd love a PR which fixes this, see [this comment](https://github.com/diffplug/spotless/issues/111#issuecomment-301555611) and [this comment](https://github.com/diffplug/spotless/issues/111#issuecomment-301673111) for what needs to be done.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.