Remove dead jars from build tasks