Add mcmod.info to all module

This commit is contained in:
ah-OOG-ah committed 2025-06-20 11:46:48 -04:00
1 parent d5b9033c4d
commit 74b9393a09
2 files changed
+29

No files matched your search

+18
View File
@@ -13,6 +13,24 @@ dependencies {
implementation(project(":mixinextras", "shadowArtifact"))
}
val moduleList =
"\nMixin," +
"\nCompat," +
"\nMixingasm," +
"\nSpongeMixins," +
"\nMixinBooterLegacy," +
"\nGasStation," +
"\nGTNHMixins, and" +
"\nMixinExtras."
tasks.processResources {
files("mcmod.info") {
filter<ReplaceTokens>("tokens" to mapOf(
"moduleList" to moduleList
))
}
}
tasks.shadowJar {
archiveClassifier = ""
+11
View File
@@ -0,0 +1,11 @@
[
{
"modid": "unimixins",
"name": "UniMixins",
"description": "UniMixins composite jar consisting of the following modules:@moduleList@",
"version": "@uniMixinsVersion@",
"mcversion": "1.7.10",
"url": "@projectUrl@",
"authorList": ["makamys"]
}
]