architectury-plugin
architectury-plugin copied to clipboard
Test source module does not include transformer agent/runtime libraries
As title states; setting up a test source set (in my case for game tests) does not include the agent and runtime libraries required for launching the game.
Workaround:
Adding the following to the dependencies block is a temporary workaround; run the ideaSyncTask after.
dependencies {
testRuntimeOnly("dev.architectury", "architectury-transformer", "5.2.72", classifier = "agent")
testRuntimeOnly("dev.architectury", "architectury-transformer", "5.2.72", classifier = "runtime")
}