GRADLE-3147: Only exclude module if artifact name, type or ext attributes are not specified. Otherwise, filter artifacts of a module based on exclusion expression. Transitive diamond exclude for single path doesn't work properly yet.