Skip to content

Commit

Permalink
upgrade spotless and add jvm options
Browse files Browse the repository at this point in the history
See diffplug/spotless#834

Signed-off-by: Jan N. Klug <[email protected]>
  • Loading branch information
J-N-K committed Dec 19, 2022
1 parent 16dddb1 commit f34dc2c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions .mvn/jvm.config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--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
13 changes: 7 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@
<sat.version>0.13.0</sat.version>
<slf4j.version>1.7.32</slf4j.version>
<xtext.version>2.26.0</xtext.version>
<spotless.version>2.0.3</spotless.version>
<spotless.version>2.22.5</spotless.version>
<spotless.eclipse.version>4.21.0</spotless.eclipse.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -538,7 +539,7 @@ Import-Package: \\
<java>
<eclipse>
<file>openhab_codestyle.xml</file>
<version>4.13.0</version>
<version>${spotless.eclipse.version}</version>
</eclipse>
<removeUnusedImports/>
<importOrder>
Expand All @@ -561,7 +562,7 @@ Import-Package: \\
<files>
<file>openhab_wst_xml_files.prefs</file>
</files>
<version>4.13.0</version>
<version>${spotless.eclipse.version}</version>
</eclipseWtp>
<trimTrailingWhitespace/>
<endWithNewline/>
Expand All @@ -576,7 +577,7 @@ Import-Package: \\
<files>
<file>openhab_wst_feature_file.prefs</file>
</files>
<version>4.13.0</version>
<version>4.21.0</version>
</eclipseWtp>
<trimTrailingWhitespace/>
<endWithNewline/>
Expand All @@ -591,7 +592,7 @@ Import-Package: \\
<files>
<file>openhab_wst_pom_file.prefs</file>
</files>
<version>4.13.0</version>
<version>${spotless.eclipse.version}</version>
</eclipseWtp>
<trimTrailingWhitespace/>
<endWithNewline/>
Expand Down Expand Up @@ -648,7 +649,7 @@ Import-Package: \\
<configuration>
<rules>
<requireJavaVersion>
<version>[11.0,18.0)</version>
<version>[17.0,18.0)</version>
</requireJavaVersion>
</rules>
</configuration>
Expand Down

0 comments on commit f34dc2c

Please sign in to comment.