Update to Java 17
This commit is contained in:
parent
15a79bdd7e
commit
16f7943043
|
@ -15,7 +15,7 @@ jobs:
|
|||
- name: 'Set up JDK'
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
java-version: '11'
|
||||
java-version: '17'
|
||||
distribution: 'adopt'
|
||||
|
||||
- name: 'Cache dependencies'
|
||||
|
|
8
pom.xml
8
pom.xml
|
@ -15,14 +15,14 @@
|
|||
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- Use Java 8 for compilation -->
|
||||
<!-- Use Java 17 for compilation -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
<source>17</source>
|
||||
<target>17</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
|
@ -39,7 +39,7 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>3.1.0</version>
|
||||
<version>3.5.0</version>
|
||||
<configuration>
|
||||
<createDependencyReducedPom>false</createDependencyReducedPom>
|
||||
<minimizeJar>true</minimizeJar>
|
||||
|
|
Loading…
Reference in New Issue