diff --git a/buildSrc/src/main/groovy/InstrumentPlugin.groovy b/buildSrc/src/main/groovy/InstrumentPlugin.groovy index d716f203532..fed739a19e4 100644 --- a/buildSrc/src/main/groovy/InstrumentPlugin.groovy +++ b/buildSrc/src/main/groovy/InstrumentPlugin.groovy @@ -35,7 +35,7 @@ class InstrumentPlugin implements Plugin { InstrumentExtension extension = project.extensions.create('instrument', InstrumentExtension) project.tasks.matching { - it.name in ['compileJava', 'compileScala', 'compileKotlin'] || + it.name in ['compileJava', 'compileScala', 'compileKotlin', 'compileGroovy'] || it.name =~ /compileMain_.+Java/ }.all { AbstractCompile compileTask = it as AbstractCompile