Update all deps and versions for 1.20.6

This commit is contained in:
Aizistral
2026-01-29 01:12:02 +01:00
parent 6e9fcb4a11
commit 1abd9296f7
12 changed files with 38 additions and 38 deletions

View File

@@ -40,7 +40,7 @@ processResources {
} }
tasks.withType(JavaCompile).configureEach { tasks.withType(JavaCompile).configureEach {
it.options.release = 17 it.options.release = 21
} }
java { java {
@@ -49,8 +49,8 @@ java {
// If you remove this line, sources will not be generated. // If you remove this line, sources will not be generated.
withSourcesJar() withSourcesJar()
sourceCompatibility = JavaVersion.VERSION_17 sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_21
} }
jar { jar {
@@ -68,10 +68,10 @@ curseforge {
changelog = file('../CHANGELOG.md') changelog = file('../CHANGELOG.md')
mainArtifact(remapJar) mainArtifact(remapJar)
addGameVersion '1.20.4' addGameVersion '1.20.6'
addGameVersion '1.20.3' addGameVersion '1.20.5'
addGameVersion 'Fabric' addGameVersion 'Fabric'
addGameVersion 'Java 17' addGameVersion 'Java 21'
relations { relations {
requiredDependency 'fabric-api' requiredDependency 'fabric-api'
@@ -87,7 +87,7 @@ modrinth {
versionType = "release" versionType = "release"
changelog = rootProject.file("../CHANGELOG.md").text changelog = rootProject.file("../CHANGELOG.md").text
uploadFile = remapJar uploadFile = remapJar
gameVersions = [ '1.20.4', '1.20.3' ] gameVersions = [ '1.20.6', '1.20.5' ]
loaders = [ 'fabric' ] loaders = [ 'fabric' ]
dependencies { dependencies {

View File

@@ -7,14 +7,14 @@ org.gradle.configuration-cache=false
# Fabric Properties # Fabric Properties
# check these on https://fabricmc.net/develop # check these on https://fabricmc.net/develop
minecraft_version=1.20.4 minecraft_version=1.20.6
loader_version=0.18.4 loader_version=0.18.4
loom_version=1.13-SNAPSHOT loom_version=1.13-SNAPSHOT
# Mod Properties # Mod Properties
mod_version=Fabric-MC1.20.4-v1.0.0 mod_version=Fabric-MC1.20.6-v1.0.0
maven_group=com.aizistral.nochatrestrictions maven_group=com.aizistral.nochatrestrictions
archives_base_name=NoChatRestrictions archives_base_name=NoChatRestrictions
# Dependencies # Dependencies
fabric_api_version=0.97.3+1.20.4 fabric_api_version=0.100.8+1.20.6

View File

@@ -25,8 +25,8 @@
], ],
"depends": { "depends": {
"fabricloader": ">=0.16", "fabricloader": ">=0.16",
"minecraft": ">=1.20.3 <=1.20.4", "minecraft": ">=1.20.5 <=1.20.6",
"java": ">=17", "java": ">=21",
"fabric": "*" "fabric": "*"
} }
} }

View File

@@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "com.aizistral.nochatrestrictions.mixins", "package": "com.aizistral.nochatrestrictions.mixins",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"minVersion": "0.8", "minVersion": "0.8",
"mixins": [], "mixins": [],
"client": [ "client": [

View File

@@ -27,8 +27,8 @@ version = project.modVersion
group = 'com.aizistral.nochatrestrictions' group = 'com.aizistral.nochatrestrictions'
archivesBaseName = 'NoChatRestrictions' archivesBaseName = 'NoChatRestrictions'
// Mojang ships Java 17 to end users in 1.18+, so your mod should target Java 17. // Mojang ships Java 21 to end users in 1.20.5+, so your mod should target Java 21.
java.toolchain.languageVersion = JavaLanguageVersion.of(17) java.toolchain.languageVersion = JavaLanguageVersion.of(21)
tasks.withType(JavaCompile).configureEach { tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation
@@ -115,10 +115,10 @@ curseforge {
changelogType = 'markdown' changelogType = 'markdown'
changelog = file('../CHANGELOG.md') changelog = file('../CHANGELOG.md')
addGameVersion '1.20.4' addGameVersion '1.20.6'
addGameVersion '1.20.3' addGameVersion '1.20.5'
addGameVersion 'Forge' addGameVersion 'Forge'
addGameVersion 'Java 17' addGameVersion 'Java 21'
} }
} }
@@ -130,7 +130,7 @@ modrinth {
versionType = "release" versionType = "release"
changelog = rootProject.file("../CHANGELOG.md").text changelog = rootProject.file("../CHANGELOG.md").text
uploadFile = jar uploadFile = jar
gameVersions = [ '1.20.4', '1.20.3' ] gameVersions = [ '1.20.6', '1.20.5' ]
loaders = [ 'forge' ] loaders = [ 'forge' ]
} }

View File

@@ -3,10 +3,10 @@
org.gradle.jvmargs=-Xmx4G org.gradle.jvmargs=-Xmx4G
org.gradle.daemon=false org.gradle.daemon=false
minecraft_version=1.20.4 minecraft_version=1.20.6
forge_version=49.2.4 forge_version=50.2.4
mapping_channel=official mapping_channel=official
mapping_version=1.20.4 mapping_version=1.20.6
modVersion=Forge-MC1.20.4-v1.0.0 modVersion=Forge-MC1.20.6-v1.0.0
manifestVersion=1.20.4-v1.0.0 manifestVersion=1.20.6-v1.0.0

View File

@@ -21,6 +21,6 @@ description="A mod dedicated to removing restrictions around the use of multipla
[[dependencies.nochatrestrictions]] [[dependencies.nochatrestrictions]]
modId="minecraft" modId="minecraft"
mandatory=true mandatory=true
versionRange="[1.20.3,1.20.4]" versionRange="[1.20.5,1.20.6]"
ordering="NONE" ordering="NONE"
side="BOTH" side="BOTH"

View File

@@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "com.aizistral.nochatrestrictions.mixins", "package": "com.aizistral.nochatrestrictions.mixins",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"minVersion": "0.8", "minVersion": "0.8",
"refmap": "nochatrestrictions.refmap.json", "refmap": "nochatrestrictions.refmap.json",
"mixins": [], "mixins": [],

View File

@@ -19,8 +19,8 @@ base {
archivesName = 'NoChatRestrictions' archivesName = 'NoChatRestrictions'
} }
// Mojang ships Java 17 to end users in 1.18+, so your mod should target Java 17. // Mojang ships Java 21 to end users in 1.20.5+, so your mod should target Java 21.
java.toolchain.languageVersion = JavaLanguageVersion.of(17) java.toolchain.languageVersion = JavaLanguageVersion.of(21)
tasks.withType(JavaCompile).configureEach { tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation
@@ -96,10 +96,10 @@ curseforge {
changelogType = 'markdown' changelogType = 'markdown'
changelog = file('../CHANGELOG.md') changelog = file('../CHANGELOG.md')
addGameVersion '1.20.4' addGameVersion '1.20.6'
addGameVersion '1.20.3' addGameVersion '1.20.5'
addGameVersion 'NeoForge' addGameVersion 'NeoForge'
addGameVersion 'Java 17' addGameVersion 'Java 21'
} }
} }
@@ -112,7 +112,7 @@ modrinth {
versionType = "release" versionType = "release"
changelog = rootProject.file("../CHANGELOG.md").text changelog = rootProject.file("../CHANGELOG.md").text
uploadFile = jar uploadFile = jar
gameVersions = [ '1.20.4', '1.20.3' ] gameVersions = [ '1.20.6', '1.20.5' ]
loaders = [ 'neoforge' ] loaders = [ 'neoforge' ]
} }

View File

@@ -4,7 +4,7 @@ org.gradle.daemon=false
org.gradle.debug=false org.gradle.debug=false
## Environment Properties ## Environment Properties
minecraft_version=1.20.4 minecraft_version=1.20.6
neo_version=20.4.251 neo_version=20.6.139
mod_version=NeoForge-MC1.20.4-v1.0.0 mod_version=NeoForge-MC1.20.6-v1.0.0
manifest_version=1.20.4-v1.0.0 manifest_version=1.20.6-v1.0.0

View File

@@ -21,7 +21,7 @@ description="A mod dedicated to removing restrictions around the use of multipla
[[dependencies.nochatrestrictions]] [[dependencies.nochatrestrictions]]
modId="minecraft" modId="minecraft"
mandatory=true mandatory=true
versionRange="[1.20.3,1.20.4]" versionRange="[1.20.5,1.20.6]"
ordering="NONE" ordering="NONE"
side="BOTH" side="BOTH"

View File

@@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "com.aizistral.nochatrestrictions.mixins", "package": "com.aizistral.nochatrestrictions.mixins",
"compatibilityLevel": "JAVA_17", "compatibilityLevel": "JAVA_21",
"minVersion": "0.8", "minVersion": "0.8",
"refmap": "nochatrestrictions.refmap.json", "refmap": "nochatrestrictions.refmap.json",
"mixins": [], "mixins": [],