mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-28 08:06:45 +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:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
java: ["1.8", "11"]
|
|
||||||
os: ["ubuntu-18.04"]
|
os: ["ubuntu-18.04"]
|
||||||
runs-on: "${{ matrix.os }}"
|
runs-on: "${{ matrix.os }}"
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout Repository"
|
- name: "Checkout Repository"
|
||||||
uses: "actions/checkout@v2.3.4"
|
uses: "actions/checkout@v2.3.4"
|
||||||
- name: "Setup JDK ${{ matrix.java }}"
|
- name: "Setup JDK 16"
|
||||||
uses: "actions/setup-java@v1.4.3"
|
uses: "actions/setup-java@v2"
|
||||||
with:
|
with:
|
||||||
java-version: "${{ matrix.java }}"
|
distribution: "adopt"
|
||||||
|
java-version: "16"
|
||||||
- name: "Clean Build"
|
- name: "Clean Build"
|
||||||
run: "./gradlew clean build"
|
run: "./gradlew clean build"
|
||||||
|
@ -84,7 +84,8 @@ allprojects {
|
|||||||
|
|
||||||
plugins.withId("java") {
|
plugins.withId("java") {
|
||||||
the<JavaPluginExtension>().toolchain {
|
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