run instrumentation on same process to avoid gradle daemon problems