mirror of
https://github.com/ViaVersion/ViaForge.git
synced 2024-11-08 10:09:36 +01:00
Move mcmod.info into mc 1.12 module, fix artifact names
This commit is contained in:
parent
cb49b6d819
commit
08cf5e9929
14
build.gradle
14
build.gradle
@ -37,12 +37,12 @@ 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 :(
|
||||
processResources {
|
||||
for (final def file in ["mcmod.info", "META-INF/mods.toml"]) {
|
||||
inputs.property "version", project.version
|
||||
|
||||
filesMatching(file) {
|
||||
expand "version": project.version
|
||||
tasks {
|
||||
processResources {
|
||||
for (final def file in ["mcmod.info", "META-INF/mods.toml"]) {
|
||||
filesMatching(file) {
|
||||
expand "version": project.version
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -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
|
||||
|
@ -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": "",
|
Loading…
Reference in New Issue
Block a user