Skip to content

Commit e1febf4

Browse files
committed
bump modstitch (it still doesn't work fully but oh well)
1 parent 880d1ed commit e1febf4

File tree

2 files changed

+7
-22
lines changed

2 files changed

+7
-22
lines changed

build.gradle.kts

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
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+
}

settings.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
pluginManagement {
22
repositories {
3+
mavenLocal()
4+
35
gradlePluginPortal()
46
mavenCentral()
57

0 commit comments

Comments
 (0)