Sometimes during my tests execution(it counts in hours), if one of tests hanges. Execution also hangs on it.
Is there any way to control execution time or thread of the task or something? Maybe gradle have some configurations to break the task execution if time is exceeding some limit?
Currenlty I decided to implement task inside buildSrc, and control it execution with basic JavaMultiThreading control, something like count time, if time for task execution is to much thatn throw GradleException, to make script continue to next task.