Skip to content

Commit 1926df9

Browse files
committed
Upgrade to JDK11 (for github)
1 parent 6f897de commit 1926df9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Diff for: .github/workflows/maven-publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414

1515
steps:
1616
- uses: actions/checkout@v2
17-
- name: Set up JDK 1.8
17+
- name: Set up JDK 11
1818
uses: actions/setup-java@v1
1919
with:
20-
java-version: 1.8
20+
java-version: 11
2121
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
2222
settings-path: ${{ github.workspace }} # location for the settings.xml file
2323

Diff for: .github/workflows/maven.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v2
19-
- name: Set up JDK 1.8
19+
- name: Set up JDK 11
2020
uses: actions/setup-java@v1
2121
with:
22-
java-version: 1.8
22+
java-version: 11
2323
- name: Build with Maven
2424
run: mvn -B package --file pom.xml
2525
env:

Diff for: pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@
8282
<artifactId>maven-compiler-plugin</artifactId>
8383
<version>3.1</version>
8484
<configuration>
85-
<source>1.8</source>
86-
<target>1.8</target>
85+
<source>11</source>
86+
<target>11</target>
8787
<compilerArguments>
8888
<endorseddirs>${endorsed.dir}</endorseddirs>
8989
</compilerArguments>

0 commit comments

Comments
 (0)