Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-12-26 00:00:33 +01:00
Update JDK to 17, setup-java to v4 (#671)
Dieser Commit ist enthalten in:
Ursprung
9fd0df824f
Commit
b40f77fed3
6
.github/workflows/gradle.yml
vendored
6
.github/workflows/gradle.yml
vendored
@ -13,11 +13,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
|
||||
|
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- 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.viabackwardsCommon)
|
||||
compileOnly(libs.velocity) {
|
||||
// Requires Java 11
|
||||
// Requires Java 17
|
||||
exclude("com.velocitypowered", "velocity-brigadier")
|
||||
}
|
||||
annotationProcessor(libs.velocity)
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren