Update JDK to 17, setup-java to v4 (#3660)
This commit is contained in:
parent
5b29ac0d8a
commit
cef6fb35b1
|
@ -14,11 +14,11 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
- name: Validate Gradle Wrapper
|
||||
uses: gradle/wrapper-validation-action@v1
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v3
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: 11
|
||||
java-version: 17
|
||||
check-latest: true
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew build
|
||||
|
|
|
@ -15,7 +15,7 @@ jobs:
|
|||
- name: Validate Gradle Wrapper
|
||||
uses: gradle/wrapper-validation-action@v1
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: 17
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
dependencies {
|
||||
compileOnlyApi(projects.viaversionCommon)
|
||||
compileOnly(libs.velocity) {
|
||||
// Requires Java 11
|
||||
// Requires Java 17
|
||||
exclude("com.velocitypowered", "velocity-brigadier")
|
||||
}
|
||||
annotationProcessor(libs.velocity)
|
||||
|
|
Loading…
Reference in New Issue