Skip to content

Commit b907a88

Browse files
committed
adapt min. required GJF versions in READMEs
1 parent e4ec8a5 commit b907a88

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

plugin-gradle/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ spotless {
187187
spotless {
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
```

plugin-maven/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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>

0 commit comments

Comments
 (0)