Skip to content

Commit

Permalink
Fix Intellij's inference of preview language level
Browse files Browse the repository at this point in the history
  • Loading branch information
findepi committed Apr 4, 2024
1 parent a0701c8 commit 4d31435
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions airbase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,10 @@
<showWarnings>true</showWarnings>
<parameters>true</parameters>
<enablePreview>${air.compiler.enable-preview}</enablePreview>
<compilerArgs combine.self="append">
<!-- workaround for https://youtrack.jetbrains.com/issue/IDEA-296303/Support-for-Maven-Compiler-Plugin-enablePreview-parameter -->
<arg>${surefireEnablePreview}</arg>
</compilerArgs>
</configuration>
</plugin>

Expand Down

0 comments on commit 4d31435

Please sign in to comment.