update gradle and version handling

This commit is contained in:
Flemmli97 2023-05-22 00:39:21 +02:00
parent d4502be70b
commit 624aebe480
2 changed files with 4 additions and 4 deletions

View File

@ -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 {

View File

@ -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 {