File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 9
9
10
10
# Specifies the JVM arguments used for the daemon process.
11
11
# The setting is particularly useful for tweaking memory settings.
12
- org.gradle.jvmargs =-Xmx4096m
12
+
13
+ # Workaround to make spotless work with java 17 -
14
+ # see https://github.com/diffplug/spotless/tree/main/plugin-gradle#google-java-format and
15
+ # https://github.com/ie3-institute/PowerSystemUtils/issues/200 for details
16
+ org.gradle.jvmargs =-Xmx4096m \
17
+ --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
18
+ --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
19
+ --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \
20
+ --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
21
+ --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
13
22
14
23
# When configured, Gradle will run in incubating parallel mode.
15
24
# This option should only be used with decoupled projects. More details, visit
16
25
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17
26
# org.gradle.parallel=true
18
27
19
- com.github.maiflai.gradle-scalatest.mode = append
28
+ com.github.maiflai.gradle-scalatest.mode = append
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ spotless {
10
10
// sets a license header, removes unused imports and formats conforming to the google java format
11
11
java {
12
12
removeUnusedImports() // removes any unused imports
13
- googleJavaFormat()
13
+ googleJavaFormat(' 1.13.0 ' )
14
14
licenseHeader ie3LicHead
15
15
}
16
16
You can’t perform that action at this time.
0 commit comments