Kover Merging Variant Create
Create custom report variant in all included projects.
For more information about the settings, see KoverCurrentProjectVariantsConfig.createVariant.
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.
createVariant("custom") {
if (project.plugins.hasPlugin("kotlin")) {
add("jvm")
}
}
Functions
Add to created variant classes, tests and instrumented classes from report variant with name variantNames. This variant is taken only from the current project.
Add to created variant classes, tests and instrumented classes from report variant with name variantNames. These variants are taken only from the current project.
Add to created variant classes, tests and instrumented classes from report variant with name variantNames. This variant is taken from the current project and all kover(project("name"))
dependency projects.
Add to created variant classes, tests and instrumented classes from report variant with name variantNames. These variants are taken from the current project and all kover(project("name"))
dependency projects.
Limit the classes that will be included in the reports. These settings do not affect the instrumentation of classes.