I tried looking for Jacoco offline instrumentation gradle script snippets but couldn\'t find one. Is it possible to do Jacoco offline instrumentation through gradle scripts
The gradle jacoco plugin doesn't support offline instrumentation, it always does online instrumentation via the java agent.
If the ant jacoco plugin supports offline instrumentation that's likely the best way to get offline instrumentation working in gradle