Gradle jacoco Multimodule

I have a multimodule gradle project for which I am getting code coverage with jacoco for each module successfully but I am not able to generate jacoco.exec containing the overall information of all modules i.e. a merged one. Can anybody help me with this or let me know how can I achieve this?

You can merge Jacoco execution data with the help of the JacocoMerge custom task.