fix(fabric-helper): build/run fixes

This commit is contained in:
2025-11-08 03:18:45 +01:00
parent 27c6539323
commit e77e1e47be
3 changed files with 7 additions and 1 deletions

View File

@@ -19,7 +19,9 @@ dependencies {
listOf("fabric-networking-api-v1", "fabric-lifecycle-events-v1").forEach {
modTestmodImplementation(fabricApi.module(it, mcLibs.versions.fabric.api.get()))
}
testmodImplementation(project(":tweed5-bundle"))
testmodImplementation(project(":tweed5-logging", configuration = "minecraftModApiElements"))
testmodImplementation(project(":tweed5-bundle", configuration = "runtimeElements"))
testmodImplementation(project(":tweed5-bundle-pojo-weaving", configuration = "runtimeElements"))
testmodImplementation("de.siphalor.tweed5:tweed5-comment-loader-extension")
testmodImplementation("de.siphalor.tweed5:tweed5-serde-hjson")
testmodImplementation("de.siphalor.tweed5:tweed5-serde-gson")

View File

@@ -1,11 +1,14 @@
package de.siphalor.tweed5.fabric.helper.testmod;
import de.siphalor.tweed5.commentloaderextension.api.CommentLoaderExtension;
import de.siphalor.tweed5.fabric.helper.api.DefaultTweedMinecraftWeaving;
import de.siphalor.tweed5.weaver.pojo.api.annotation.CompoundWeaving;
import de.siphalor.tweed5.weaver.pojo.api.annotation.TweedExtension;
import de.siphalor.tweed5.weaver.pojoext.attributes.api.Attribute;
import lombok.Data;
@DefaultTweedMinecraftWeaving
@TweedExtension(CommentLoaderExtension.class)
@CompoundWeaving(namingFormat = "kebab_case")
@Data
public class TestModConfig {