GeezerVison is showing github.com — Add the cool blockquote warning trick to the other Android spot. · diffplug/spotless@fa3fd1e
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: plugin-gradle/README.md +8-7Lines changed: 8 additions & 7 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -207,13 +207,14 @@ spotless { |
207 | 207 |
|
208 | 208 | <a name="applying-to-android-java-source"></a> |
209 | 209 |
|
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 | +> ``` |
217 | 218 |
|
218 | 219 | ### removeUnusedImports |
219 | 220 |
|
|