Skip to content

Commit fa3fd1e

Browse files
committed
Add the cool blockquote warning trick to the other Android spot.
1 parent 60993fd commit fa3fd1e

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

plugin-gradle/README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -207,13 +207,14 @@ spotless {
207207

208208
<a name="applying-to-android-java-source"></a>
209209

210-
The target is usually inferred automatically from the java source sets. However, Spotless cannot automatically detect [android](https://github.com/diffplug/spotless/issues/111) or [java-gradle-plugin](https://github.com/diffplug/spotless/issues/437) sources, but you can fix this easily:
211-
212-
```gradle
213-
spotless {
214-
java {
215-
target 'src/*/java/**/*.java'
216-
```
210+
> [!WARNING]
211+
> The target is usually inferred automatically from the java source sets. However, Spotless cannot automatically detect [android](https://github.com/diffplug/spotless/issues/111) or [java-gradle-plugin](https://github.com/diffplug/spotless/issues/437) sources, but you can fix this easily:
212+
>
213+
> ```gradle
214+
> spotless {
215+
> java {
216+
> target 'src/*/java/**/*.java'
217+
> ```
217218
218219
### removeUnusedImports
219220

0 commit comments

Comments
 (0)