diff options
author | Linnea Gräf <nea@nea.moe> | 2024-11-27 17:13:23 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-11-27 17:13:23 +0100 |
commit | 312dffe044d3b11d0a89c286d9651b0f5b1281c7 (patch) | |
tree | 8d072cdb38abc5bb5921397f5a5fb94ec1372d41 /testagent/build.gradle.kts | |
parent | c41488139136c213fd5d799523da5f318a0014a2 (diff) | |
download | Firmament-312dffe044d3b11d0a89c286d9651b0f5b1281c7.tar.gz Firmament-312dffe044d3b11d0a89c286d9651b0f5b1281c7.tar.bz2 Firmament-312dffe044d3b11d0a89c286d9651b0f5b1281c7.zip |
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
Diffstat (limited to 'testagent/build.gradle.kts')
-rw-r--r-- | testagent/build.gradle.kts | 14 |
1 files changed, 14 insertions, 0 deletions
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<Jar> { + val agentMain = "moe.nea.firmament.testagent.AgentMain" + manifest.attributes( + "Agent-Class" to agentMain, + "Premain-Class" to agentMain, + ) +} |