After JaCoCo version 2.2.0 was released graphical code coverage display stoped working for non .java source files. Such as .groovy, .scala, .gs, .kt, etc.
No code is displayed when viewing the coverage section of the reports.
The JaCoCo log outputs:
Indicating 0 files were read from the source directory.
The cause is related to this improvement Filter class directories
Commit d771e0b15933516917208f30dd54bad81b1c290d introduced a change on line 472 of JacocoPublisher.java which restricts source files with the mask */.java
Rolling back to version 2.1.0 of JaCoCo restores the expected behaviour.
Can inclusions / exclusions filters be added similar to how class directories are filtered?