mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-24 14:16:44 +01:00
Jump to Java 16
This commit is contained in:
parent
6fd55b47c2
commit
58ad9db5ed
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -6,15 +6,15 @@ jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
java: ["1.8", "11"]
|
||||
os: ["ubuntu-18.04"]
|
||||
runs-on: "${{ matrix.os }}"
|
||||
steps:
|
||||
- name: "Checkout Repository"
|
||||
uses: "actions/checkout@v2.3.4"
|
||||
- name: "Setup JDK ${{ matrix.java }}"
|
||||
uses: "actions/setup-java@v1.4.3"
|
||||
- name: "Setup JDK 16"
|
||||
uses: "actions/setup-java@v2"
|
||||
with:
|
||||
java-version: "${{ matrix.java }}"
|
||||
distribution: "adopt"
|
||||
java-version: "16"
|
||||
- name: "Clean Build"
|
||||
run: "./gradlew clean build"
|
||||
|
@ -84,7 +84,8 @@ allprojects {
|
||||
|
||||
plugins.withId("java") {
|
||||
the<JavaPluginExtension>().toolchain {
|
||||
languageVersion.set(JavaLanguageVersion.of(11))
|
||||
languageVersion.set(JavaLanguageVersion.of(16))
|
||||
vendor.set(JvmVendorSpec.ADOPTOPENJDK)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user