update gradle and version handling
This commit is contained in:
parent
d4502be70b
commit
624aebe480
@ -92,8 +92,8 @@ processResources {
|
||||
inputs.property "version", project.version
|
||||
|
||||
filesMatching("fabric.mod.json") {
|
||||
expand "version": project.version, "homepage": curse_page_fabric, "mcversion": minecraft_version, "fabric_version": fabric_version
|
||||
}
|
||||
expand "version": project.version, "homepage": curse_page_fabric,
|
||||
"mcversion": minecraft_version, "fabric_version": fabric_version }
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
|
@ -56,8 +56,8 @@ processResources {
|
||||
|
||||
def loader_version = (forge_version =~ /([0-9]+)\.([0-9]+)\.([0-9]+)/)[0][1]
|
||||
filesMatching("META-INF/mods.toml") {
|
||||
expand "version": project.version, "loader_version": loader_version, "homepage": curse_page_forge, "mcversion": minecraft_version, "forge_version": forge_version
|
||||
}
|
||||
expand "version": project.version, "loader_version": loader_version, "homepage": curse_page_forge,
|
||||
"mcversion": minecraft_version, "forge_version": forge_version }
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
|
Loading…
Reference in New Issue
Block a user