onlyGenerateTasksForVariants

@get:Input
abstract val onlyGenerateTasksForVariants: SetProperty<String>

Filter the generated Jacoco tasks, so that only the given build variants are provided with a companion task. Make sure to add the full product flavor name if necessary (i.e. "paidDebug" if you use a "paid" product flavor and the "debug" build type). By default, this set is empty, meaning that tasks are generated for all variants.