Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

prevent specific task from running in parallel

Tags:

gradle

I have a specific task that when run in --parallel can cause the build to break. Is there anyway to prevent parallel execution on a specific task? I am thinking of something like the synchronized keyword on the method in Java.

like image 716
jax Avatar asked Mar 12 '26 08:03

jax


1 Answers

No such feature currently exists. You could try to work around with synchronized though.

like image 120
Peter Niederwieser Avatar answered Mar 16 '26 03:03

Peter Niederwieser



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!