mirror of
https://github.com/TheWhiteDog9487/ServerAddressSpaceFix.git
synced 2026-06-17 20:24:45 +08:00
使用YACL Config API自动将功能开关状态保存到文件内
使用文件系统监听器使配置文件被外部更改时可以自动重载到游戏内 解决直接连接窗口内输入框里的服务器IP没有被移除空格处理的问题 在移除空格之后打印日志 添加英文README 重新给main入口类添加`@Deprecated`标记,这东西确实用不到,后面看要不要直接删了 为AI Agent添加AGENTS.md文件以指示通用提示词
This commit is contained in:
committed by
TheWhiteDog9487
parent
5cb7a45ff4
commit
92d1e282d8
@@ -37,7 +37,6 @@ loom {
|
||||
dependencies {
|
||||
// To change the versions see the gradle.properties file
|
||||
minecraft("com.mojang:minecraft:${providers.gradleProperty("minecraft_version").get()}")
|
||||
|
||||
implementation("net.fabricmc:fabric-loader:${providers.gradleProperty("loader_version").get()}")
|
||||
|
||||
// Fabric API. This is technically optional, but you probably want it anyway.
|
||||
@@ -77,11 +76,11 @@ tasks.jar {
|
||||
from("LICENSE") {
|
||||
rename { "${it}_$projectName" }
|
||||
}
|
||||
archiveFileName = "ServerAddressSpaceFix-${project.version} mc${providers.gradleProperty("compatible_with").get()}.jar"
|
||||
archiveFileName = "${providers.gradleProperty("archives_base_name").get()}-${project.version} mc${providers.gradleProperty("compatible_with").get()}.jar"
|
||||
}
|
||||
|
||||
tasks.named<Jar>("sourcesJar") {
|
||||
archiveFileName = "ServerAddressSpaceFix-${project.version} mc${providers.gradleProperty("compatible_with").get()}-sources.jar"}
|
||||
archiveFileName = "${providers.gradleProperty("archives_base_name").get()}-${project.version} mc${providers.gradleProperty("compatible_with").get()}-sources.jar"}
|
||||
|
||||
|
||||
// configure the maven publication
|
||||
|
||||
Reference in New Issue
Block a user