-
Notifications
You must be signed in to change notification settings - Fork 5k
Remove commented-out sample for jacoco aggregation of all Test tasks #17476
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
Merged
+0
−10
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The commented out code that is shown in the sample is not correct. tasks.withType(Test) will not realize all the test tasks, but rather iterate over an empty list and yield nothing in this case if the tasks have not yet been configured. An alternative would be to wrap this code in afterEvaluate {}.
@bot-gradle test and merge |
OK, I've already triggered a build for you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The commented out code that is shown in the sample is not correct. tasks.withType(Test) will not realize all the test tasks, but rather iterate over an empty list and yield nothing in this case if the tasks have not yet been configured. An alternative would be to wrap this code in afterEvaluate {}.