-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kotlin DSL accessors are not available for Kover tasks #394
Labels
Comments
aSemy
added
Bug
Bug issue type
S: untriaged
Status: issue reported but unprocessed
labels
May 31, 2023
shanshin
added
S: confirmed
Status: bug is reproduced or present
and removed
S: untriaged
Status: issue reported but unprocessed
labels
May 31, 2023
Relates #338 |
shanshin
added a commit
that referenced
this issue
Jun 9, 2023
Now the search for build variants takes place in the `afterEvaluate` action, which is added when `finalizeDsl` is called - thus the Kover code is guaranteed to be executed after creating variants. Additional changes: * added DSL accessors for Kover Default report tasks * added descriptions for Kover report tasks * added functions for getting Kover Android report task names Fixes #362 Fixes #394 Fixes #400
shanshin
added
S: ready for release
Status: merged in the main branch
and removed
S: confirmed
Status: bug is reproduced or present
labels
Jun 16, 2023
Fixed in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I would like to be able to use type-safe Kotlin DSL accessors for accessing Kover tasks
It appears that Kover is using
afterEvaluate {}
kotlinx-kover/src/main/kotlin/kotlinx/kover/gradle/plugin/KoverGradlePlugin.kt
Lines 32 to 34 in bbc0560
which means that Gradle will not be able to generate the DSL accessors.
Reproducer
Reports
If applicable, report files or screenshots.
Environment
The text was updated successfully, but these errors were encountered: