Hi.
I use JaCoCo when develop android apps.
I think the function excludes
of JaCoCo might have a bug.
So I want to debug JaCoCo gradle-plugin.
I tried to debug by jacoco.cli as below.
But jacoco.cli doesn’t have a excludes
option…
$ git clone https://github.com/jacoco/jacoco.git
$ cd jacoco
$ mvn clean verify -DskipTests
$ java -jar ./org.jacoco.cli/target/org.jacoco.cli-0.8.9-SNAPSHOT-nodeps.jar report ./testDebugUnitTest.exec --classfiles ../../github/att/android-app/app/build/intermediates/javac/debug/classes --html "./jacoco-report" --name testReport --sourcefiles "../../github/att/android-app/app/src"
- all cli options
jacoco/Report.java at 046ba52e9fd1288cf121fd1013c9019d71946954 · jacoco/jacoco · GitHub
I asked the JaCoCo project, but I was told to contact gradle project.
https://groups.google.com/g/jacoco/c/NEjyUtPX5eA/m/JWa7avf_AAAJ
How can I debug JaCoCo gradle-plugin?
https://docs.gradle.org/current/userguide/jacoco_plugin.html
Please tell me the way to debug JaCoCo gradle-plugin.
Thank you.