Make muzzle task depend on instrumentation project runtimeclasspath
MODIFY
buildSrc/src/main/groovy/MuzzlePlugin.groovy
buildSrc/src/main/groovy/MuzzlePlugin.groovy
@@ -366,6 +366,7 @@ class MuzzlePlugin implements Plugin<Project> {
}
def muzzleTask = instrumentationProject.task(taskName) {
+ dependsOn(instrumentationProject.configurations.named("runtimeClasspath"))
doLast {
ClassLoader instrumentationCL = createInstrumentationClassloader(instrumentationProject, toolingProject)
def ccl = Thread.currentThread().contextClassLoader

Make muzzle task depend on instrumentation project runtimeclasspath (#1408)

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>