Skip to content

Commit 24734fd

Browse files
committed
JDK 16 is no longer required to compile the plugin
1 parent 19e3235 commit 24734fd

File tree

5 files changed

+3
-14
lines changed

5 files changed

+3
-14
lines changed

.github/workflows/maven.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,16 @@ on: [push, pull_request]
44

55
jobs:
66
build:
7-
87
runs-on: ubuntu-latest
9-
10-
# ViaPotions requires Java 16 to compile.
11-
# However, it works in Java 8 up to Java 16.
12-
strategy:
13-
matrix:
14-
java: [16]
158

169
steps:
1710
- name: Checkout Repository
1811
uses: actions/checkout@v2
1912

20-
- name: Set up JDK ${{ matrix.java }}
13+
- name: Set up JDK 16
2114
uses: actions/setup-java@v2
2215
with:
23-
java-version: ${{ matrix.java }}
16+
java-version: 16
2417
distribution: 'adopt'
2518

2619
- name: Build with Maven

src/dev/_2lstudios/viapotions/utils/ConfigurationUtil.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,4 @@ public YamlConfiguration getConfiguration(String filePath) {
2222
return new YamlConfiguration();
2323
}
2424
}
25-
26-
}
25+
}

src/dev/_2lstudios/viapotions/utils/PotionTranslator.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,4 @@ public PotionEffectType getPotionEffectType() {
3636
public TranslationData[] getDatas() {
3737
return datas;
3838
}
39-
4039
}

src/dev/_2lstudios/viapotions/utils/SplashTranslator.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,4 @@ public int getRGB() {
3333
public TranslationData[] getDatas() {
3434
return datas;
3535
}
36-
3736
}

src/dev/_2lstudios/viapotions/utils/TranslationData.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ public int getLowestVersion() {
2020
public int getHighestVersion() {
2121
return highestVersion;
2222
}
23-
2423
}

0 commit comments

Comments
 (0)