Skip to content

Commit

Permalink
use release flag for the compiler-plugin
Browse files Browse the repository at this point in the history
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
  • Loading branch information
ceki committed Feb 26, 2024
1 parent 057ab67 commit 9c65d2d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
package ch.qos.logback.classic.tyler;public class TylerConfiguratorBase {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
package ch.qos.logback.classic.util;public class LevelUtil {
}
3 changes: 1 addition & 2 deletions logback-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@
<goal>compile</goal>
</goals>
<configuration>
<source>${jdk.version}</source>
<target>${jdk.version}</target>
<release>${jdk.version}</release>
</configuration>
</execution>

Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@

<!-- minimal JDK version at runtime -->
<jdk.version>11</jdk.version>
<!-- See https://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-release.html -->
<maven.compiler.release>${jdk.version}</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

Expand Down

0 comments on commit 9c65d2d

Please sign in to comment.