summarylogtreecommitdiffstats
path: root/google-java-format
blob: b4e71725c8fd538ab57e29ec5135ddf603ee826d (plain)
1
2
3
4
5
6
7
8
9
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/java/google-java-format/google-java-format.jar' "$@"