1
1
plugins {
2
2
kotlin(" jvm" )
3
- id(" dev.isxander.modstitch.base" ) version " 0.6.2 -unstable"
3
+ id(" dev.isxander.modstitch.base" ) version " 0.6.3 -unstable"
4
4
id(" me.modmuss50.mod-publish-plugin" )
5
5
id(" me.fallenbreath.yamlang" ) version " 1.4.+"
6
6
}
@@ -56,8 +56,6 @@ modstitch {
56
56
}
57
57
58
58
metadata {
59
- overwriteProjectVersionAndGroup = false
60
-
61
59
modId = mod.id
62
60
modName = mod.name
63
61
modVersion = mod.version
@@ -66,9 +64,7 @@ modstitch {
66
64
block()
67
65
}
68
66
69
- val refmapString = """
70
- ,"refmap": "${modId} .refmap.json"
71
- """
67
+ val refmapString = " ,\" refmap\" : \" ${mod.id} .refmap.json\" "
72
68
replacementProperties.populate {
73
69
// You can put any other replacement properties/metadata here that
74
70
// modstitch doesn't initially support. Some examples below.
@@ -77,6 +73,8 @@ modstitch {
77
73
put(" mnd" , if (loader == " neoforge" ) " type = \" required\" " else " mandatory = true" )
78
74
put(" refmap" , if (loader == " forge" ) refmapString else " " )
79
75
}
76
+
77
+ overwriteProjectVersionAndGroup = false
80
78
}
81
79
82
80
// Fabric Loom (Fabric)
@@ -222,19 +220,4 @@ if (stonecutter.current.isActive) {
222
220
group = " project"
223
221
dependsOn(tasks.named(" runClient" ))
224
222
}
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