Skip to content

Add on-demand support for jacoco code coverage#3454

Open
daschl wants to merge 1 commit intoapple:mainfrom
daschl:jacoco
Open

Add on-demand support for jacoco code coverage#3454
daschl wants to merge 1 commit intoapple:mainfrom
daschl:jacoco

Conversation

@daschl
Copy link
Copy Markdown
Contributor

@daschl daschl commented Mar 17, 2026

Motivation

Adds support to run jacoco code coverage on demand if needed.

@daschl daschl marked this pull request as ready for review March 24, 2026 09:07
Copy link
Copy Markdown
Contributor

@bryce-anderson bryce-anderson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to work for me.

Comment thread build.gradle

quality.dependsOn buildHealth

apply plugin: "jacoco-report-aggregation"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optionally: just because the number of lines is large and they are under different code blocks (not a single one), consider moving this code to something like ./gradle/jacoco.gradle file and then use apply here to import it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants