Use JaCoCo plugin.