Skip to content

Use Gradle task avoidance #18

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

manuelprinz
Copy link

This PR implements task avoidance inside the plugin, because it always configures JaCoCo (and in consequence the test task), even if it is not used in the build. To reproduce, create a build scan with ./gradlew --scan help and check the output as described in the "Troubleshooting" section in the manual. The current release shows 3 created tasks, the version with this PR applied shows 0.

I also took the liberty too add the most recent major versions to the tests and make minor modifications so that the plugin can be used in a composite build with recent Gradle releases. (I needed that for manual testing and creating the build scans.)

Thanks for this great plugin!

@manuelprinz
Copy link
Author

Forgot to add the screenshots

Before:
Screenshot with current plugin version

After:
Screenshot with the PR applied

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.

1 participant