From 5ce84e68d7788ba437ebd2c484b649c8b1b059eb Mon Sep 17 00:00:00 2001 From: Aizistral Date: Tue, 27 Jan 2026 15:55:50 +0100 Subject: Update all deps and versions for 1.18.2 --- Fabric/build.gradle | 15 ++++++++------- Fabric/gradle.properties | 6 +++--- Fabric/src/main/resources/fabric.mod.json | 4 ++-- Fabric/src/main/resources/nochatrestrictions.mixins.json | 2 +- 4 files changed, 14 insertions(+), 13 deletions(-) (limited to 'Fabric') diff --git a/Fabric/build.gradle b/Fabric/build.gradle index c584ce9..2ee1ace 100644 --- a/Fabric/build.gradle +++ b/Fabric/build.gradle @@ -40,7 +40,7 @@ processResources { } tasks.withType(JavaCompile).configureEach { - it.options.release = 16 + it.options.release = 17 } java { @@ -49,8 +49,8 @@ java { // If you remove this line, sources will not be generated. withSourcesJar() - sourceCompatibility = JavaVersion.VERSION_16 - targetCompatibility = JavaVersion.VERSION_16 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } jar { @@ -68,10 +68,11 @@ curseforge { changelog = file('../CHANGELOG.md') mainArtifact(remapJar) - addGameVersion '1.17.1' - addGameVersion '1.17' + addGameVersion '1.18.2' + addGameVersion '1.18.1' + addGameVersion '1.18' addGameVersion 'Fabric' - addGameVersion 'Java 8' + addGameVersion 'Java 17' relations { requiredDependency 'fabric-api' @@ -87,7 +88,7 @@ modrinth { versionType = "release" changelog = rootProject.file("../CHANGELOG.md").text uploadFile = remapJar - gameVersions = [ '1.17.1', '1.17' ] + gameVersions = [ '1.18.2', '1.18.1', '1.18' ] loaders = [ 'fabric' ] dependencies { diff --git a/Fabric/gradle.properties b/Fabric/gradle.properties index 3859663..db3acee 100644 --- a/Fabric/gradle.properties +++ b/Fabric/gradle.properties @@ -7,14 +7,14 @@ org.gradle.configuration-cache=false # Fabric Properties # check these on https://fabricmc.net/develop -minecraft_version=1.17.1 +minecraft_version=1.18.2 loader_version=0.18.4 loom_version=1.13-SNAPSHOT # Mod Properties -mod_version=Fabric-MC1.17.1-v1.0.0 +mod_version=Fabric-MC1.18.2-v1.0.0 maven_group=com.aizistral.nochatrestrictions archives_base_name=NoChatRestrictions # Dependencies -fabric_api_version=0.46.1+1.17 \ No newline at end of file +fabric_api_version=0.77.0+1.18.2 \ No newline at end of file diff --git a/Fabric/src/main/resources/fabric.mod.json b/Fabric/src/main/resources/fabric.mod.json index 437758d..ba926be 100644 --- a/Fabric/src/main/resources/fabric.mod.json +++ b/Fabric/src/main/resources/fabric.mod.json @@ -25,8 +25,8 @@ ], "depends": { "fabricloader": ">=0.18.4", - "minecraft": "~1.17", - "java": ">=16", + "minecraft": "~1.18", + "java": ">=17", "fabric": "*" } } \ No newline at end of file diff --git a/Fabric/src/main/resources/nochatrestrictions.mixins.json b/Fabric/src/main/resources/nochatrestrictions.mixins.json index b58d8b6..c091e42 100644 --- a/Fabric/src/main/resources/nochatrestrictions.mixins.json +++ b/Fabric/src/main/resources/nochatrestrictions.mixins.json @@ -1,7 +1,7 @@ { "required": true, "package": "com.aizistral.nochatrestrictions.mixins", - "compatibilityLevel": "JAVA_16", + "compatibilityLevel": "JAVA_17", "minVersion": "0.8", "mixins": [], "client": [ -- cgit v1.2.3