diff --git a/platforms/forge-1.18.2/build.gradle.kts b/platforms/forge-1.18.2/build.gradle.kts index 04bbfad0..a0847323 100644 --- a/platforms/forge-1.18.2/build.gradle.kts +++ b/platforms/forge-1.18.2/build.gradle.kts @@ -37,6 +37,10 @@ loom { forge { mixinConfigs("unifiedmetrics.mixins.json") } + + mixin { + defaultRefmapName.set("mixin.refmap.json") + } } repositories { @@ -79,14 +83,14 @@ tasks { } remapJar { - archiveClassifier.set("remap") + archiveClassifier.set("") inputFile.set(jar.get().archiveFile.get()) } shadowJar { dependsOn(remapJar) mustRunAfter(remapJar) - archiveClassifier.set("all") + archiveClassifier.set("") configurations = listOf(project.configurations.shadow.get()) relocate("retrofit2", "dev.cubxity.plugins.metrics.libs.retrofit2") relocate("com.charleskorn", "dev.cubxity.plugins.metrics.libs.com.charleskorn") diff --git a/platforms/forge-1.18.2/src/main/resources/unifiedmetrics.mixins.json b/platforms/forge-1.18.2/src/main/resources/unifiedmetrics.mixins.json index 4e2d207e..99882eb3 100644 --- a/platforms/forge-1.18.2/src/main/resources/unifiedmetrics.mixins.json +++ b/platforms/forge-1.18.2/src/main/resources/unifiedmetrics.mixins.json @@ -1,10 +1,10 @@ { - "required": true, - "minVersion": "0.8", - "package": "dev.cubxity.plugins.metrics.forge.mixins", - "compatibilityLevel": "JAVA_8", - "mixins": [ - "ServerLoginPacketListenerImplMixin", - "ServerStatusPacketListenerImplMixin" - ] + "required": true, + "minVersion": "0.8", + "package": "dev.cubxity.plugins.metrics.forge.mixins", + "compatibilityLevel": "JAVA_8", + "mixins": [ + "ServerLoginPacketListenerImplMixin", + "ServerStatusPacketListenerImplMixin" + ] } \ No newline at end of file