mirror of
https://github.com/Aizistral-Studios/No-Chat-Restrictions.git
synced 2026-05-14 12:53:32 +08:00
Update all deps and versions for 1.20.6
This commit is contained in:
@@ -40,7 +40,7 @@ processResources {
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
it.options.release = 17
|
||||
it.options.release = 21
|
||||
}
|
||||
|
||||
java {
|
||||
@@ -49,8 +49,8 @@ java {
|
||||
// If you remove this line, sources will not be generated.
|
||||
withSourcesJar()
|
||||
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
sourceCompatibility = JavaVersion.VERSION_21
|
||||
targetCompatibility = JavaVersion.VERSION_21
|
||||
}
|
||||
|
||||
jar {
|
||||
@@ -68,10 +68,10 @@ curseforge {
|
||||
changelog = file('../CHANGELOG.md')
|
||||
mainArtifact(remapJar)
|
||||
|
||||
addGameVersion '1.20.4'
|
||||
addGameVersion '1.20.3'
|
||||
addGameVersion '1.20.6'
|
||||
addGameVersion '1.20.5'
|
||||
addGameVersion 'Fabric'
|
||||
addGameVersion 'Java 17'
|
||||
addGameVersion 'Java 21'
|
||||
|
||||
relations {
|
||||
requiredDependency 'fabric-api'
|
||||
@@ -87,7 +87,7 @@ modrinth {
|
||||
versionType = "release"
|
||||
changelog = rootProject.file("../CHANGELOG.md").text
|
||||
uploadFile = remapJar
|
||||
gameVersions = [ '1.20.4', '1.20.3' ]
|
||||
gameVersions = [ '1.20.6', '1.20.5' ]
|
||||
loaders = [ 'fabric' ]
|
||||
|
||||
dependencies {
|
||||
|
||||
@@ -7,14 +7,14 @@ org.gradle.configuration-cache=false
|
||||
|
||||
# Fabric Properties
|
||||
# check these on https://fabricmc.net/develop
|
||||
minecraft_version=1.20.4
|
||||
minecraft_version=1.20.6
|
||||
loader_version=0.18.4
|
||||
loom_version=1.13-SNAPSHOT
|
||||
|
||||
# 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
|
||||
archives_base_name=NoChatRestrictions
|
||||
|
||||
# Dependencies
|
||||
fabric_api_version=0.97.3+1.20.4
|
||||
fabric_api_version=0.100.8+1.20.6
|
||||
@@ -25,8 +25,8 @@
|
||||
],
|
||||
"depends": {
|
||||
"fabricloader": ">=0.16",
|
||||
"minecraft": ">=1.20.3 <=1.20.4",
|
||||
"java": ">=17",
|
||||
"minecraft": ">=1.20.5 <=1.20.6",
|
||||
"java": ">=21",
|
||||
"fabric": "*"
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"required": true,
|
||||
"package": "com.aizistral.nochatrestrictions.mixins",
|
||||
"compatibilityLevel": "JAVA_17",
|
||||
"compatibilityLevel": "JAVA_21",
|
||||
"minVersion": "0.8",
|
||||
"mixins": [],
|
||||
"client": [
|
||||
|
||||
@@ -27,8 +27,8 @@ version = project.modVersion
|
||||
group = 'com.aizistral.nochatrestrictions'
|
||||
archivesBaseName = 'NoChatRestrictions'
|
||||
|
||||
// Mojang ships Java 17 to end users in 1.18+, so your mod should target Java 17.
|
||||
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
|
||||
// Mojang ships Java 21 to end users in 1.20.5+, so your mod should target Java 21.
|
||||
java.toolchain.languageVersion = JavaLanguageVersion.of(21)
|
||||
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation
|
||||
@@ -115,10 +115,10 @@ curseforge {
|
||||
changelogType = 'markdown'
|
||||
changelog = file('../CHANGELOG.md')
|
||||
|
||||
addGameVersion '1.20.4'
|
||||
addGameVersion '1.20.3'
|
||||
addGameVersion '1.20.6'
|
||||
addGameVersion '1.20.5'
|
||||
addGameVersion 'Forge'
|
||||
addGameVersion 'Java 17'
|
||||
addGameVersion 'Java 21'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -130,7 +130,7 @@ modrinth {
|
||||
versionType = "release"
|
||||
changelog = rootProject.file("../CHANGELOG.md").text
|
||||
uploadFile = jar
|
||||
gameVersions = [ '1.20.4', '1.20.3' ]
|
||||
gameVersions = [ '1.20.6', '1.20.5' ]
|
||||
loaders = [ 'forge' ]
|
||||
}
|
||||
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
org.gradle.jvmargs=-Xmx4G
|
||||
org.gradle.daemon=false
|
||||
|
||||
minecraft_version=1.20.4
|
||||
forge_version=49.2.4
|
||||
minecraft_version=1.20.6
|
||||
forge_version=50.2.4
|
||||
mapping_channel=official
|
||||
mapping_version=1.20.4
|
||||
mapping_version=1.20.6
|
||||
|
||||
modVersion=Forge-MC1.20.4-v1.0.0
|
||||
manifestVersion=1.20.4-v1.0.0
|
||||
modVersion=Forge-MC1.20.6-v1.0.0
|
||||
manifestVersion=1.20.6-v1.0.0
|
||||
@@ -21,6 +21,6 @@ description="A mod dedicated to removing restrictions around the use of multipla
|
||||
[[dependencies.nochatrestrictions]]
|
||||
modId="minecraft"
|
||||
mandatory=true
|
||||
versionRange="[1.20.3,1.20.4]"
|
||||
versionRange="[1.20.5,1.20.6]"
|
||||
ordering="NONE"
|
||||
side="BOTH"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"required": true,
|
||||
"package": "com.aizistral.nochatrestrictions.mixins",
|
||||
"compatibilityLevel": "JAVA_17",
|
||||
"compatibilityLevel": "JAVA_21",
|
||||
"minVersion": "0.8",
|
||||
"refmap": "nochatrestrictions.refmap.json",
|
||||
"mixins": [],
|
||||
|
||||
@@ -19,8 +19,8 @@ base {
|
||||
archivesName = 'NoChatRestrictions'
|
||||
}
|
||||
|
||||
// Mojang ships Java 17 to end users in 1.18+, so your mod should target Java 17.
|
||||
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
|
||||
// Mojang ships Java 21 to end users in 1.20.5+, so your mod should target Java 21.
|
||||
java.toolchain.languageVersion = JavaLanguageVersion.of(21)
|
||||
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation
|
||||
@@ -96,10 +96,10 @@ curseforge {
|
||||
changelogType = 'markdown'
|
||||
changelog = file('../CHANGELOG.md')
|
||||
|
||||
addGameVersion '1.20.4'
|
||||
addGameVersion '1.20.3'
|
||||
addGameVersion '1.20.6'
|
||||
addGameVersion '1.20.5'
|
||||
addGameVersion 'NeoForge'
|
||||
addGameVersion 'Java 17'
|
||||
addGameVersion 'Java 21'
|
||||
}
|
||||
|
||||
}
|
||||
@@ -112,7 +112,7 @@ modrinth {
|
||||
versionType = "release"
|
||||
changelog = rootProject.file("../CHANGELOG.md").text
|
||||
uploadFile = jar
|
||||
gameVersions = [ '1.20.4', '1.20.3' ]
|
||||
gameVersions = [ '1.20.6', '1.20.5' ]
|
||||
loaders = [ 'neoforge' ]
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ org.gradle.daemon=false
|
||||
org.gradle.debug=false
|
||||
|
||||
## Environment Properties
|
||||
minecraft_version=1.20.4
|
||||
neo_version=20.4.251
|
||||
mod_version=NeoForge-MC1.20.4-v1.0.0
|
||||
manifest_version=1.20.4-v1.0.0
|
||||
minecraft_version=1.20.6
|
||||
neo_version=20.6.139
|
||||
mod_version=NeoForge-MC1.20.6-v1.0.0
|
||||
manifest_version=1.20.6-v1.0.0
|
||||
|
||||
@@ -21,7 +21,7 @@ description="A mod dedicated to removing restrictions around the use of multipla
|
||||
[[dependencies.nochatrestrictions]]
|
||||
modId="minecraft"
|
||||
mandatory=true
|
||||
versionRange="[1.20.3,1.20.4]"
|
||||
versionRange="[1.20.5,1.20.6]"
|
||||
ordering="NONE"
|
||||
side="BOTH"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"required": true,
|
||||
"package": "com.aizistral.nochatrestrictions.mixins",
|
||||
"compatibilityLevel": "JAVA_17",
|
||||
"compatibilityLevel": "JAVA_21",
|
||||
"minVersion": "0.8",
|
||||
"refmap": "nochatrestrictions.refmap.json",
|
||||
"mixins": [],
|
||||
|
||||
Reference in New Issue
Block a user