1 2 3 4 5 6 7 8 9 10 11 12 13 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, ) }