From 312dffe044d3b11d0a89c286d9651b0f5b1281c7 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Wed, 27 Nov 2024 17:13:23 +0100 Subject: test: Make all minecraft methods public during testing This is meant to fix minecraft failing to access package private methods of itself due to changes in naming --- testagent/build.gradle.kts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 testagent/build.gradle.kts (limited to 'testagent/build.gradle.kts') diff --git a/testagent/build.gradle.kts b/testagent/build.gradle.kts new file mode 100644 index 0000000..3bd8c8c --- /dev/null +++ b/testagent/build.gradle.kts @@ -0,0 +1,14 @@ +plugins { + java + alias(libs.plugins.shadow) +} +dependencies { + implementation(libs.asm) +} +tasks.withType { + val agentMain = "moe.nea.firmament.testagent.AgentMain" + manifest.attributes( + "Agent-Class" to agentMain, + "Premain-Class" to agentMain, + ) +} -- cgit