Skip to content

Commit 09834a8

Browse files
committed
re-add java-agent info to META-INF
1 parent 2dcbd18 commit 09834a8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

launchwrapper/build.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,12 @@ tasks {
3131
relocationPrefix = "needleWrapper"
3232
exclude("META-INF/**")
3333
}
34+
35+
jar {
36+
manifest {
37+
attributes(
38+
"Premain-Class" to "needleWrapper.dev.kosmx.needle.launchWrapper.JavaAgentLauncher",
39+
"Agent-Class" to "needleWrapper.dev.kosmx.needle.launchWrapper.JavaAgentLauncher",)
40+
}
41+
}
3442
}

0 commit comments

Comments
 (0)