11plugins {
22 kotlin(" jvm" )
3- id(" dev.isxander.modstitch.base" ) version " 0.6.2 -unstable"
3+ id(" dev.isxander.modstitch.base" ) version " 0.6.3 -unstable"
44 id(" me.modmuss50.mod-publish-plugin" )
55 id(" me.fallenbreath.yamlang" ) version " 1.4.+"
66}
@@ -56,8 +56,6 @@ modstitch {
5656 }
5757
5858 metadata {
59- overwriteProjectVersionAndGroup = false
60-
6159 modId = mod.id
6260 modName = mod.name
6361 modVersion = mod.version
@@ -66,9 +64,7 @@ modstitch {
6664 block()
6765 }
6866
69- val refmapString = """
70- ,"refmap": "${modId} .refmap.json"
71- """
67+ val refmapString = " ,\" refmap\" : \" ${mod.id} .refmap.json\" "
7268 replacementProperties.populate {
7369 // You can put any other replacement properties/metadata here that
7470 // modstitch doesn't initially support. Some examples below.
@@ -77,6 +73,8 @@ modstitch {
7773 put(" mnd" , if (loader == " neoforge" ) " type = \" required\" " else " mandatory = true" )
7874 put(" refmap" , if (loader == " forge" ) refmapString else " " )
7975 }
76+
77+ overwriteProjectVersionAndGroup = false
8078 }
8179
8280 // Fabric Loom (Fabric)
@@ -222,19 +220,4 @@ if (stonecutter.current.isActive) {
222220 group = " project"
223221 dependsOn(tasks.named(" runClient" ))
224222 }
225- }
226-
227- /*
228- dependencies {
229- val mixinExtras = "io.github.llamalad7:mixinextras-%s:${property("deps.mixin_extras")}"
230- if (isFabric) {
231- } else {
232- if (loader == "forge") {
233- compileOnly(annotationProcessor(mixinExtras.format("common"))!!)
234- include(implementation(mixinExtras.format("forge"))!!)
235- }
236- "forgeRuntimeLibrary"("org.quiltmc.parsers:json:0.2.1")
237- "forgeRuntimeLibrary"("org.quiltmc.parsers:gson:0.2.1")
238- }
239- }
240- */
223+ }
0 commit comments