Quantcast
Channel: Gradle Forums - Latest posts
Viewing all articles
Browse latest Browse all 20645

How call TaskInternal.execute() when gradle update to 5.0+

$
0
0

That’s not how Gradle works… Each task will run either once or not at all for each build execution. A task will never run twice (unless you hack a call to Task.execute())

If you want to run a task with two sets of inputs/outputs you’ll need two separate task instances


Viewing all articles
Browse latest Browse all 20645

Trending Articles