Skip to content

Commit 49afbdc

Browse files
cpovirkgoogle-java-format Team
authored andcommitted
Update the location of the required Java version after bf4b13b.
(And link to it for good measure.) PiperOrigin-RevId: 955328807
1 parent efeecc5 commit 49afbdc

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@ java -jar /path/to/google-java-format-${GJF_VERSION?}-all-deps.jar <options> [fi
1919
Note that it uses the `jdk.compiler` module to parse the Java source code. The
2020
`java` binary version used must therefore be from a JDK (not JRE) with a version
2121
equal to or newer than the Java language version of the files being formatted.
22-
The minimum Java version can be found in `core/pom.xml` (currently Java 21). An
23-
alternative is to use the available GraalVM based native binaries instead.
22+
The minimum Java version can be found in
23+
[`pom.xml`](https://github.com/google/google-java-format/blob/master/pom.xml)
24+
(currently Java 21). An alternative is to use the available GraalVM based native
25+
binaries instead.
2426

2527
The formatter can act on whole files, on limited lines (`--lines`), on specific
2628
offsets (`--offset`), passing through to standard-out (default) or altered

0 commit comments

Comments
 (0)