Kover Merging Instrumentation
Instrumentation settings for all included projects.
For more information about the settings, see KoverVariantConfig.instrumentation.
This action is executed delayed, just before all tasks are created, at the after evaluate stage. A corresponding project is passed in the argument. Analyzing this project, you can make flexible configurations.
instrumentation {
if (project.name == "projectName") {
excludedClasses.add("foo.bar.*")
}
}
Properties
Disable instrumentation in all test tasks. No one task from this project will not be called when generating Kover reports and these tasks will not be instrumented even if you explicitly run them.
Specifies not to use test task with passed names to measure coverage. These tasks will also not be called when generating Kover reports and these tasks will not be instrumented even if you explicitly run them.
Disable instrumentation in test tasks of specified classes
Enable instrumentation in test tasks only of specified classes. All other classes will not be instrumented.