-
Notifications
You must be signed in to change notification settings - Fork 54
Closed as not planned
Labels
BugBug issue typeBug issue typeS: in progressStatus: implementing or design in processStatus: implementing or design in process
Description
Describe the bug
kover {}
configuration doesn't work in afterEvaluate {}
.
Errors
No report generated!
Expected behavior
I want to filter modules/projects that have applied an specific plugin (example-plugin
) on their own.
module A:
plugins{
id("example-plugin")
}
module B:
plugins{
id("example-plugin")
}
module C:
plugins { }
rootProject:
afterEvaluate{
kover {
merge.allProjects {
it.pluginManager.hasPlugin("example-plugin")
}
}
}
I expect that kover generate and merge only A
and B
's report
Reproducer
Reports
Environment
- Kover Gradle Plugin version: 0.9.1
- Kotlin version: 1.8.20
- Gradle version: 7.6.6
- Kotlin project type: Kotlin/Android
- Coverage Toolset (if customized in build script): Kover
Metadata
Metadata
Assignees
Labels
BugBug issue typeBug issue typeS: in progressStatus: implementing or design in processStatus: implementing or design in process