dev-java/google-java-format: new package, add 1.22.0

Signed-off-by: oatiz <iamoatiz@gmail.com>
This commit is contained in:
oatiz authored and 梁永祥 committed 2024-07-05 22:35:29 +08:00
1 parent 2802d2ba59
commit c0588ebe36
4 files changed
+47

No files matched your search

@@ -0,0 +1,10 @@
#!/bin/bash
exec java \
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.code=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 \
-jar '/usr/share/google-java-format/google-java-format-all-deps.jar' "$@"