Skip to content

Conversation

rieske
Copy link
Contributor

@rieske rieske commented Jun 17, 2021

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 {}.

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 {}.
@rieske rieske added @core Issue owned by GBT Core a:documentation Documentation content labels Jun 17, 2021
@rieske rieske added this to the 7.2 RC1 milestone Jun 17, 2021
@rieske rieske self-assigned this Jun 17, 2021
@big-guy big-guy self-requested a review June 17, 2021 13:15
@big-guy
Copy link
Member

big-guy commented Jun 17, 2021

@bot-gradle test and merge

@bot-gradle
Copy link
Collaborator

OK, I've already triggered a build for you.

@bot-gradle bot-gradle merged commit 83438bf into master Jun 18, 2021
@blindpirate blindpirate deleted the vv/aggregation/jacoco-sample-fix branch July 16, 2021 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment