更新版本号格式
This commit is contained in:
@@ -21,7 +21,7 @@ group = mod_group_id
|
||||
version = mod_version
|
||||
|
||||
base {
|
||||
archivesName = mod_id
|
||||
archivesName = minecraft_version + "-" + mod_id
|
||||
}
|
||||
|
||||
java {
|
||||
@@ -200,7 +200,8 @@ tasks.named('processResources', ProcessResources).configure {
|
||||
|
||||
filesMatching(['META-INF/mods.toml', 'pack.mcmeta']) {
|
||||
expand replaceProperties + [project: project]
|
||||
}}
|
||||
}
|
||||
}
|
||||
|
||||
// Example for how to get properties into the manifest for reading at runtime.
|
||||
tasks.named('jar', Jar).configure {
|
||||
|
||||
Reference in New Issue
Block a user