Skip to content

Commit 45e706b

Browse files
committed
fix: update to 1.20.5 and java 21
1 parent a8b8625 commit 45e706b

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44

55
java {
66
toolchain {
7-
languageVersion = JavaLanguageVersion.of(17)
7+
languageVersion = JavaLanguageVersion.of(21)
88
}
99

1010
withSourcesJar()
@@ -14,9 +14,9 @@ version = "0.3.5"
1414
group = "dev.chachy"
1515

1616
dependencies {
17-
minecraft "com.mojang:minecraft:1.20.4"
18-
mappings "net.fabricmc:yarn:1.20.4+build.1:v2"
19-
modImplementation "net.fabricmc:fabric-loader:0.15.0"
17+
minecraft "com.mojang:minecraft:1.20.5"
18+
mappings "net.fabricmc:yarn:1.20.5+build.1:v2"
19+
modImplementation "net.fabricmc:fabric-loader:0.15.10"
2020
}
2121

2222
processResources {
@@ -29,7 +29,7 @@ processResources {
2929

3030
tasks.withType(JavaCompile).configureEach {
3131
it.options.encoding = "UTF-8"
32-
it.options.release.set(17)
32+
it.options.release.set(21)
3333
}
3434

3535
jar {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

src/main/resources/fabric.mod.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"accessWidener": "lazy-language-loader.accesswidener",
2727
"depends": {
2828
"fabricloader": ">=0.12.3",
29-
"minecraft": ">=1.20.2",
30-
"java": ">=17"
29+
"minecraft": ">=1.20.5",
30+
"java": ">=21"
3131
}
3232
}

src/main/resources/lazy-language-loader.mixin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"required": true,
33
"minVersion": "0.8",
44
"package": "dev.chachy.lazylanguageloader.client.mixin",
5-
"compatibilityLevel": "JAVA_16",
5+
"compatibilityLevel": "JAVA_21",
66
"client": [
77
"optimizations.loading.MixinLanguageOptionsScreen",
88
"optimizations.loading.MixinReloadableResourceManagerImpl",

0 commit comments

Comments
 (0)