升级游戏兼容性到1.21
移除翻译键中手动添加的命名空间
编译版本升级至JDK21
This commit is contained in:
2024-06-14 14:33:33 +08:00
parent 8186159653
commit 6eb98f1f94
8 changed files with 26 additions and 25 deletions

View File

@@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '1.5-SNAPSHOT'
id 'fabric-loom' version '1.6-SNAPSHOT'
id 'maven-publish'
}
@@ -54,7 +54,7 @@ processResources {
}
tasks.withType(JavaCompile).configureEach {
it.options.release = 17
it.options.release = 21
}
java {
@@ -63,8 +63,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 {