[Repost as I forgot to add a meaningful title]
I have a folder with multiple JAR files files called /lib
from the root folder of "lib" I wanted to create a batch script, which executes a main file in "A.jar", but also collects information about the coverage of "B.jar" (A.jar has dependecies in B.jar)
A simplified version of the script I am executing is:
java.exe -ea -Xmx2g -javaagent:jacocoagent.jar=destfile=./coverage.exec -cp "lib/*" at.my.Main Param1 Param2
Result: I get code coverage results for all classes in "A.jar", but none for "B.jar".
Do you have an idea how to get results as well from "B.jar"?
If possible please answer for the Gradle plugin jacoco
Thanks for your time!
Florian