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
This commit is contained in:
14
testagent/build.gradle.kts
Normal file
14
testagent/build.gradle.kts
Normal file
@@ -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,
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user