Skip to content

Commit 724b693

Browse files
committed
build(deps): new google-java-format lib, JDK17 compat args no longer needed
1 parent f679309 commit 724b693

File tree

3 files changed

+1
-11
lines changed

3 files changed

+1
-11
lines changed

index.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -71,18 +71,8 @@ function spawnGoogleJavaFormat(args, done, stdio) {
7171

7272
// Add the library in, with java 16 compat
7373
args = [
74-
"--add-exports",
75-
"jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED",
76-
"--add-exports",
77-
"jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED",
78-
"--add-exports",
79-
"jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED",
80-
"--add-exports",
81-
"jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED",
82-
"--add-exports",
83-
"jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED",
8474
"-jar",
85-
`${LOCATION}/lib/google-java-format-1.15.0-all-deps.jar`,
75+
`${LOCATION}/lib/google-java-format-1.18.1-all-deps.jar`,
8676
].concat(args);
8777

8878
// extract glob, if present
-3.36 MB
Binary file not shown.
3.43 MB
Binary file not shown.

0 commit comments

Comments
 (0)