Skip to content

Commit 6967f0f

Browse files
authored
Upgrate to Java 11 (CodelyTV#19)
1 parent af74d54 commit 6967f0f

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/workflow.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v1
12-
- name: Set up JDK 1.8
13-
uses: actions/setup-java@v1
11+
- uses: actions/checkout@v2
12+
13+
- uses: actions/setup-java@v1
1414
with:
15-
java-version: 1.8
15+
java-version: 11
16+
1617
- name: Assemble
1718
run: ./gradlew assemble --warning-mode all
19+
1820
- name: Check
1921
run: ./gradlew check --warning-mode all
2022

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apply plugin: 'java'
22

3-
sourceCompatibility = 1.8
4-
targetCompatibility = 1.8
3+
sourceCompatibility = 11
4+
targetCompatibility = 11
55

66
repositories {
77
mavenCentral()

0 commit comments

Comments
 (0)