Skip to content
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

Aggregated reports for gradle composite build not generated #123

Closed
ShrutiTalewad opened this issue Jan 20, 2022 · 4 comments
Closed

Aggregated reports for gradle composite build not generated #123

ShrutiTalewad opened this issue Jan 20, 2022 · 4 comments
Labels
Feature Feature request issue type S: postponed Status: work on the issue is not in the short term plans

Comments

@ShrutiTalewad
Copy link

ShrutiTalewad commented Jan 20, 2022

Currently I am able to generate aggregated reports for individual builds but I am trying to get aggregated reports which includes reports of all builds

Using latest version 0.5.0-RC2
Tried with includes on koverMergedHtmlReport like below in build.gradle file of parent build (build-1) but doesn't seem to work

koverMergedHtmlReport {
    dependsOn(gradle.includedBuild("build-2").task(":koverMergedHtmlReport"))
    includes = listOf("com.example1.*", "com.foo.*")   // This is the fully qualified class name of packages in second build}
@shanshin
Copy link
Collaborator

Hi,
composing builds are not supported by Kover and there are no short-term plans to add such a feature.

@shanshin shanshin added the Feature Feature request issue type label Jan 20, 2022
@shanshin shanshin added the S: postponed Status: work on the issue is not in the short term plans label Oct 27, 2022
@shanshin shanshin added this to the Release 1.0.0 milestone Oct 27, 2022
@slm
Copy link

slm commented Mar 2, 2023

I get this error when I try to apply Kover with composing build.

Failed to query the value of task ‘:common-ui:koverHtmlReport’ property ‘files$kover’.
> Type org.jetbrains.kotlin.gradle.dsl.KotlinAndroidProjectExtension not present

Is it the reason? If it is when do you planning the support it?
@shanshin

@shanshin
Copy link
Collaborator

shanshin commented Mar 2, 2023

Working with composite build has not yet been designed.
You can try the 0.7.0-Alpha version, there shouldn't be this error.

@shanshin
Copy link
Collaborator

Closed in prior of #487

@shanshin shanshin closed this as not planned Won't fix, can't repro, duplicate, stale Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Feature request issue type S: postponed Status: work on the issue is not in the short term plans
Projects
None yet
Development

No branches or pull requests

3 participants