Skip to content

Commit

Permalink
Java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
SoltauFintel committed Dec 8, 2023
1 parent 18bf39d commit e21ced4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 5 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ subprojects {
apply plugin: 'eclipse'
apply plugin: 'maven-publish'

sourceCompatibility = 17
targetCompatibility = 17
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
compileJava.options.encoding = 'windows-1252'
compileTestJava.options.encoding = 'windows-1252'

Expand Down
4 changes: 1 addition & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>17</java.version>
<maven.compiler.release>17</maven.compiler.release>
<slf4j.version>2.0.9</slf4j.version>
<surefire.version>3.2.2</surefire.version>
</properties>
Expand Down Expand Up @@ -115,8 +115,6 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<showDeprecation>true</showDeprecation>
</configuration>
</plugin>
Expand Down

0 comments on commit e21ced4

Please sign in to comment.