File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -106,17 +106,6 @@ Documentation from the google-java-format CLI tool :
106106 Do not remove unused imports. Imports will still be sorted.
107107```
108108
109- ### JDK 16+ peculiarities
110-
111- Since google-java-format uses JDK internal apis, if you need to run the plugin with JDK 16+, you must pass some additional arguments to the JVM.
112- Those are described at https://github.com/google/google-java-format/releases/tag/v1.10.0 .
113-
114- Thanks to https://maven.apache.org/configure.html#mvn-jvm-config-file , you should be able to pass them to ` .mvn/jvm.config ` as follow:
115-
116- ```
117- --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
118- ```
119-
120109### Frequently asked questions
121110
122111#### If I have a multi-module project, do I need to install anything in the sub-projects?
You can’t perform that action at this time.
0 commit comments