[GRADLE-2036] Excludes DSL needs some improvements (error on unknown keys, error if no valid keys) Created: 06/Jan/12 Updated: 04/Jan/13 Resolved: 08/May/12
There are several problems with the dependency excludes DSL. I'm talking about...
One problem is that `exclude [:]` is effectively `exclude module: "", group: ""`. This gets worse when people get one of the keys wrong, `exclude name: "baz"`, as this will just silently exclude everything.
Another is that `module` is probably the wrong key to be looking for, it should probably be `name`.
We should also fail early if a key is used that we don't support, and internally this should use the notation parser mechanism.
|Comment by Jacob Aleksynas [ 30/Apr/12 ]|
Additionally an exclude for type would be a very welcome addition.