Ensure we use JDK 21, not 17. (#423)

This commit is contained in:
Kichura 2024-05-28 22:27:43 +02:00 committed by GitHub
parent 49311d479f
commit 5eb9401852
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# Deploys the latest stable JDK 17 available and sets it to default without having to manually specify it here,
# Deploys the latest stable JDK 21 available and sets it to default without having to manually specify it here,
# Which includes using temurin as the distribution.
before_install:
- curl -s "https://get.sdkman.io" | bash
- source ~/.sdkman/bin/sdkman-init.sh
- sdk install java 17.0.10-tem
- sdk use java 17.0.10-tem
- sdk install java 21.0.3-tem
- sdk use java 21.0.3-tem

View File

@ -55,7 +55,7 @@
"fabric-particles-v1": ">=1.1.6",
"fabric-registry-sync-v0": ">=4.0.13",
"minecraft": ">=1.20.5",
"java": ">=17"
"java": ">=21"
},
"breaks": {
"viafabric": "*"

View File

@ -2,7 +2,7 @@
"required": true,
"minVersion": "0.8",
"package": "de.florianmichael.viafabricplus.injection.mixin",
"compatibilityLevel": "JAVA_17",
"compatibilityLevel": "JAVA_21",
"plugin": "de.florianmichael.viafabricplus.injection.ViaFabricPlusMixinPlugin",
"client": [
"base.MixinMain",