Make muzzle task depend on instrumentation project runtimeclasspath (#1408)
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
This commit is contained in:
parent
9c97941580
commit
137df965ac
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue