fix(fabric-helper): build/run fixes
This commit is contained in:
@@ -83,6 +83,7 @@ dependencies {
|
||||
parchment("org.parchmentmc.data:parchment-$minecraftVersion:${getMcCatalogVersion("parchment")}@zip")
|
||||
})
|
||||
modImplementation(mcCommonLibs.fabric.loader)
|
||||
"modTestmodImplementation"(mcCommonLibs.fabric.loader)
|
||||
|
||||
compileOnly(libs.jspecify.annotations)
|
||||
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user