-
Notifications
You must be signed in to change notification settings - Fork 880
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build and publish muzzle check plugin separately #1225
Comments
Damn :( muzzle plugin, living inside |
Is there any way how it could be done? I am happy to help with this. |
I don't know one right now. |
@iNikem Is this the problem? opentelemetry-java-instrumentation/buildSrc/src/main/groovy/MuzzlePlugin.groovy Lines 62 to 63 in 4624584
I would like to use the muzzle plugin in a custom build with added instrumentations. The muzzle would be very helpful there. |
Yes, this is it. |
Commenting from #1408 The muzzle task could expose a property to configure classpath with byteBuddy {
transformation {
tasks = ['compileJava', 'compileScala', 'compileKotlin']
plugin = 'io.opentelemetry.javaagent.tooling.muzzle.collector.MuzzleCodeGenerationPlugin'
classPath = project(':javaagent-tooling').configurations.instrumentationMuzzle + configurations.runtimeClasspath + sourceSets.main.output
}
} |
A bit of clarification: this issue concerns the muzzle check plugin ( |
Done |
When trying to run muzzle in parallel in GHA, building projects
buildSrc
takes 2/3 of each task execution. This is total waste of time. Should build it once, publish and consume externally.The text was updated successfully, but these errors were encountered: