diff --git a/all/build.gradle.kts b/all/build.gradle.kts index a3d9555..9234141 100644 --- a/all/build.gradle.kts +++ b/all/build.gradle.kts @@ -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("tokens" to mapOf( + "moduleList" to moduleList + )) + } +} + tasks.shadowJar { archiveClassifier = "" diff --git a/all/src/main/resources/mcmod.info b/all/src/main/resources/mcmod.info new file mode 100644 index 0000000..e752bed --- /dev/null +++ b/all/src/main/resources/mcmod.info @@ -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"] + } +] \ No newline at end of file