From 9d5182adc967bcb7dc09955a23b8e9de4ec4fc69 Mon Sep 17 00:00:00 2001 From: Robin Leroy Date: Wed, 8 Mar 2023 14:03:40 +0100 Subject: [PATCH] Work around spotless issues in recent JDKs --- .gitattributes | 1 + .mvn/jvm.config | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 .mvn/jvm.config diff --git a/.gitattributes b/.gitattributes index 454c3fed8..952b13e97 100644 --- a/.gitattributes +++ b/.gitattributes @@ -15,6 +15,7 @@ *.cc text diff=cpp *.classpath text *.cmd text eol=crlf +*.config text eol=lf *.cpp text diff=cpp *.css text diff=css *.dsp text diff --git a/.mvn/jvm.config b/.mvn/jvm.config new file mode 100644 index 000000000..bc72bdaf9 --- /dev/null +++ b/.mvn/jvm.config @@ -0,0 +1,5 @@ + --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