mirror of
https://github.com/ViaVersion/ViaForge.git
synced 2024-11-25 12:35:30 +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
|
// 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 :(
|
// Since this depends on the platform version, we can't define it in the global scope :(
|
||||||
processResources {
|
tasks {
|
||||||
for (final def file in ["mcmod.info", "META-INF/mods.toml"]) {
|
processResources {
|
||||||
inputs.property "version", project.version
|
for (final def file in ["mcmod.info", "META-INF/mods.toml"]) {
|
||||||
|
filesMatching(file) {
|
||||||
filesMatching(file) {
|
expand "version": project.version
|
||||||
expand "version": project.version
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -73,7 +73,7 @@ subprojects {
|
|||||||
|
|
||||||
// Define the jar output attributes for all platforms
|
// Define the jar output attributes for all platforms
|
||||||
archivesBaseName = project.maven_name
|
archivesBaseName = project.maven_name
|
||||||
version = maven_version + "-" + project.mc_version
|
version = maven_version
|
||||||
group = maven_group
|
group = maven_group
|
||||||
|
|
||||||
// Used to execute code only for specific submodules
|
// Used to execute code only for specific submodules
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"modid": "viaforge",
|
"modid": "viaforge",
|
||||||
"name": "ViaForge",
|
"name": "ViaForge",
|
||||||
"description": "Client-side Implementation of the Via* projects for Minecraft Forge",
|
"description": "Client-side Implementation of the Via* projects for Minecraft Forge",
|
||||||
"version": "3.5.0",
|
"version": "${version}",
|
||||||
"mcversion": "[1.12.2]",
|
"mcversion": "[1.12.2]",
|
||||||
"url": "https://github.com/ViaVersion/ViaForge",
|
"url": "https://github.com/ViaVersion/ViaForge",
|
||||||
"updateUrl": "",
|
"updateUrl": "",
|
Loading…
Reference in New Issue
Block a user