Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-27 08:30:09 +01:00
Update JDK to 17, setup-java to v4 (#3660)
Dieser Commit ist enthalten in:
Ursprung
5b29ac0d8a
Commit
cef6fb35b1
6
.github/workflows/gradle.yml
vendored
6
.github/workflows/gradle.yml
vendored
@ -14,11 +14,11 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Validate Gradle Wrapper
|
- name: Validate Gradle Wrapper
|
||||||
uses: gradle/wrapper-validation-action@v1
|
uses: gradle/wrapper-validation-action@v1
|
||||||
- name: Set up JDK 11
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 11
|
java-version: 17
|
||||||
check-latest: true
|
check-latest: true
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
||||||
|
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
|||||||
- name: Validate Gradle Wrapper
|
- name: Validate Gradle Wrapper
|
||||||
uses: gradle/wrapper-validation-action@v1
|
uses: gradle/wrapper-validation-action@v1
|
||||||
- name: Set up JDK 17
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 17
|
java-version: 17
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
dependencies {
|
dependencies {
|
||||||
compileOnlyApi(projects.viaversionCommon)
|
compileOnlyApi(projects.viaversionCommon)
|
||||||
compileOnly(libs.velocity) {
|
compileOnly(libs.velocity) {
|
||||||
// Requires Java 11
|
// Requires Java 17
|
||||||
exclude("com.velocitypowered", "velocity-brigadier")
|
exclude("com.velocitypowered", "velocity-brigadier")
|
||||||
}
|
}
|
||||||
annotationProcessor(libs.velocity)
|
annotationProcessor(libs.velocity)
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren