Move mcmod.info into mc 1.12 module, fix artifact names

This commit is contained in:
FlorianMichael 2024-04-28 21:10:10 +02:00
parent cb49b6d819
commit 08cf5e9929
No known key found for this signature in database
GPG Key ID: C2FB87E71C425126
2 changed files with 8 additions and 8 deletions

View File

@ -37,15 +37,15 @@ allprojects {
// Replace the version in the mcmod.info and mods.toml files with the project version
// Since this depends on the platform version, we can't define it in the global scope :(
tasks {
processResources {
for (final def file in ["mcmod.info", "META-INF/mods.toml"]) {
inputs.property "version", project.version
filesMatching(file) {
expand "version": project.version
}
}
}
}
// Including all required libraries for ViaVersion {for version numbers see gradle.properties}
dependencies {
@ -73,7 +73,7 @@ subprojects {
// Define the jar output attributes for all platforms
archivesBaseName = project.maven_name
version = maven_version + "-" + project.mc_version
version = maven_version
group = maven_group
// Used to execute code only for specific submodules

View File

@ -3,7 +3,7 @@
"modid": "viaforge",
"name": "ViaForge",
"description": "Client-side Implementation of the Via* projects for Minecraft Forge",
"version": "3.5.0",
"version": "${version}",
"mcversion": "[1.12.2]",
"url": "https://github.com/ViaVersion/ViaForge",
"updateUrl": "",