Custom jar task producing archive with every *.class twice

Two year later, any non guard yourself solutions? :slight_smile: (built-in duplicate resolution mechanism?)