File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1313and run it with:
1414
1515```
16- java -jar /path/to/google-java-format-1.5 -all-deps.jar <options> [files...]
16+ java -jar /path/to/google-java-format-1.6 -all-deps.jar <options> [files...]
1717```
1818
1919The formatter can act on whole files, on limited lines (` --lines ` ), on specific
@@ -53,7 +53,7 @@ and import it into File→Settings→Editor→Code Style.
5353### Eclipse
5454
5555A [ google-java-format Eclipse
56- plugin] ( https://github.com/google/google-java-format/releases/download/google-java-format-1.5 /google-java-format-eclipse-plugin_1.5 .0.jar )
56+ plugin] ( https://github.com/google/google-java-format/releases/download/google-java-format-1.6 /google-java-format-eclipse-plugin_1.6 .0.jar )
5757can be downloaded from the releases page. Drop it into the Eclipse [ drop-ins
5858folder] ( http://help.eclipse.org/neon/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fp2_dropins_format.html )
5959to activate the plugin.
@@ -89,15 +89,15 @@ configuration.
8989<dependency >
9090 <groupId >com.google.googlejavaformat</groupId >
9191 <artifactId >google-java-format</artifactId >
92- <version >1.5 </version >
92+ <version >1.6 </version >
9393</dependency >
9494```
9595
9696#### Gradle
9797
9898``` groovy
9999dependencies {
100- compile 'com.google.googlejavaformat:google-java-format:1.5 '
100+ compile 'com.google.googlejavaformat:google-java-format:1.6 '
101101}
102102```
103103
You can’t perform that action at this time.
0 commit comments