Update dep versions for Fabric

This commit is contained in:
Aizistral
2026-03-27 20:02:20 +01:00
parent ea449b9693
commit 5a39f51f3b
2 changed files with 10 additions and 32 deletions

View File

@@ -40,7 +40,7 @@ processResources {
} }
tasks.withType(JavaCompile).configureEach { tasks.withType(JavaCompile).configureEach {
it.options.release = 21 it.options.release = 25
} }
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_21 sourceCompatibility = JavaVersion.VERSION_25
targetCompatibility = JavaVersion.VERSION_21 targetCompatibility = JavaVersion.VERSION_25
} }
jar { jar {
@@ -68,20 +68,9 @@ curseforge {
changelog = file('../CHANGELOG.md') changelog = file('../CHANGELOG.md')
mainArtifact(remapJar) mainArtifact(remapJar)
addGameVersion '1.21.11' addGameVersion project.minecraft_version
addGameVersion '1.21.10'
addGameVersion '1.21.9'
addGameVersion '1.21.8'
addGameVersion '1.21.7'
addGameVersion '1.21.6'
addGameVersion '1.21.5'
addGameVersion '1.21.4'
addGameVersion '1.21.3'
addGameVersion '1.21.2'
addGameVersion '1.21.1'
addGameVersion '1.21'
addGameVersion 'Fabric' addGameVersion 'Fabric'
addGameVersion 'Java 21' addGameVersion 'Java 25'
relations { relations {
requiredDependency 'fabric-api' requiredDependency 'fabric-api'
@@ -98,18 +87,7 @@ modrinth {
changelog = rootProject.file("../CHANGELOG.md").text changelog = rootProject.file("../CHANGELOG.md").text
uploadFile = remapJar uploadFile = remapJar
gameVersions = [ gameVersions = [
'1.21.11', project.minecraft_version
'1.21.10',
'1.21.9',
'1.21.8',
'1.21.7',
'1.21.6',
'1.21.5',
'1.21.4',
'1.21.3',
'1.21.2',
'1.21.1',
'1.21'
] ]
loaders = [ 'fabric' ] loaders = [ 'fabric' ]

View File

@@ -7,9 +7,9 @@ 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.21.11 minecraft_version=26.1
loader_version=0.18.4 loader_version=0.18.5
loom_version=1.13-SNAPSHOT loom_version=1.15-SNAPSHOT
# Mod Properties # Mod Properties
mod_version=Fabric-MC1.21.11-v1.0.0 mod_version=Fabric-MC1.21.11-v1.0.0
@@ -17,4 +17,4 @@ maven_group=com.aizistral.nochatrestrictions
archives_base_name=NoChatRestrictions archives_base_name=NoChatRestrictions
# Dependencies # Dependencies
fabric_api_version=0.141.2+1.21.11 fabric_api_version=0.144.3+26.1