[GRADLE-3124] typo in configuration exclude rule excludes all dependencies Created: 04/Jul/14  Updated: 04/Jul/14  Resolved: 04/Jul/14

Status: Resolved
Project: Gradle
Affects Version/s: 2.0
Fix Version/s: 2.1-rc-1

Type: Bug
Reporter: Szczepan Faber Assignee: Szczepan Faber
Resolution: Fixed Votes: 0


A typo like below excludes all dependencies in given configuration.

configurations.compile.exclude modue: "kafka"

I think we should simply fail fast if someone uses wrong keys for exclude rule (we already do that for dependency-level exclude rules). It's a breaking change but I think it makes little sense applying deprecation layer on top of this kind of API misuse.

Generated at Wed Jun 30 12:40:38 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.