File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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.7 -all-deps.jar <options> [files...]
16+ java -jar /path/to/google-java-format-1.8 -all-deps.jar <options> [files...]
1717```
1818
1919The formatter can act on whole files, on limited lines (` --lines ` ), on specific
@@ -94,15 +94,15 @@ configuration.
9494<dependency >
9595 <groupId >com.google.googlejavaformat</groupId >
9696 <artifactId >google-java-format</artifactId >
97- <version >1.7 </version >
97+ <version >1.8 </version >
9898</dependency >
9999```
100100
101101#### Gradle
102102
103103``` groovy
104104dependencies {
105- compile 'com.google.googlejavaformat:google-java-format:1.7 '
105+ compile 'com.google.googlejavaformat:google-java-format:1.8 '
106106}
107107```
108108
Original file line number Diff line number Diff line change 2222 <parent >
2323 <groupId >com.google.googlejavaformat</groupId >
2424 <artifactId >google-java-format-parent</artifactId >
25- <version >1.8 -SNAPSHOT</version >
25+ <version >1.9 -SNAPSHOT</version >
2626 </parent >
2727
2828 <artifactId >google-java-format</artifactId >
Original file line number Diff line number Diff line change 2828 <groupId >com.google.googlejavaformat</groupId >
2929 <artifactId >google-java-format-parent</artifactId >
3030 <packaging >pom</packaging >
31- <version >1.8 -SNAPSHOT</version >
31+ <version >1.9 -SNAPSHOT</version >
3232
3333 <modules >
3434 <module >core</module >
You can’t perform that action at this time.
0 commit comments