File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -187,8 +187,8 @@ spotless {
187
187
spotless {
188
188
java {
189
189
googleJavaFormat()
190
- // optional: you can specify a specific version and/or switch to AOSP style
191
- // and/or reflow long strings (requires at least 1.8)
190
+ // optional: you can specify a specific version (>= 1.8) and/or switch to AOSP style
191
+ // and/or reflow long strings
192
192
// and/or use custom group artifact (you probably don't need this)
193
193
googleJavaFormat('1.8').aosp().reflowLongStrings().groupArtifact('com.google.googlejavaformat:google-java-format')
194
194
```
Original file line number Diff line number Diff line change @@ -213,9 +213,9 @@ any other maven phase (i.e. compile) then it can be configured as below;
213
213
214
214
``` xml
215
215
<googleJavaFormat >
216
- <version >1.8</version > <!-- optional -->
216
+ <version >1.8</version > <!-- optional, 1.8 is minimum supported version -->
217
217
<style >GOOGLE</style > <!-- or AOSP (optional) -->
218
- <reflowLongStrings >true</reflowLongStrings > <!-- optional (requires at least 1.8) -->
218
+ <reflowLongStrings >true</reflowLongStrings > <!-- optional -->
219
219
<!-- optional: custom group artifact (you probably don't need this) -->
220
220
<groupArtifact >com.google.googlejavaformat:google-java-format</groupArtifact >
221
221
</googleJavaFormat >
You can’t perform that action at this time.
0 commit comments