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 {
187187spotless {
188188 java {
189189 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
192192 // and/or use custom group artifact (you probably don't need this)
193193 googleJavaFormat('1.8').aosp().reflowLongStrings().groupArtifact('com.google.googlejavaformat:google-java-format')
194194```
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;
213213
214214``` xml
215215<googleJavaFormat >
216- <version >1.8</version > <!-- optional -->
216+ <version >1.8</version > <!-- optional, 1.8 is minimum supported version -->
217217 <style >GOOGLE</style > <!-- or AOSP (optional) -->
218- <reflowLongStrings >true</reflowLongStrings > <!-- optional (requires at least 1.8) -->
218+ <reflowLongStrings >true</reflowLongStrings > <!-- optional -->
219219 <!-- optional: custom group artifact (you probably don't need this) -->
220220 <groupArtifact >com.google.googlejavaformat:google-java-format</groupArtifact >
221221</googleJavaFormat >
You can’t perform that action at this time.
0 commit comments