更新版本号格式

This commit is contained in:
xypp
2025-07-28 16:04:05 +08:00
parent ee3cb071d7
commit ea3a57d70d

View File

@@ -21,7 +21,7 @@ group = mod_group_id
version = mod_version version = mod_version
base { base {
archivesName = mod_id archivesName = minecraft_version + "-" + mod_id
} }
java { java {
@@ -200,7 +200,8 @@ tasks.named('processResources', ProcessResources).configure {
filesMatching(['META-INF/mods.toml', 'pack.mcmeta']) { filesMatching(['META-INF/mods.toml', 'pack.mcmeta']) {
expand replaceProperties + [project: project] expand replaceProperties + [project: project]
}} }
}
// Example for how to get properties into the manifest for reading at runtime. // Example for how to get properties into the manifest for reading at runtime.
tasks.named('jar', Jar).configure { tasks.named('jar', Jar).configure {