[GRADLE-1416] IDEA Plugin doesn't honor excluded dependencies Created: 03/Mar/11  Updated: 04/Jan/13  Resolved: 19/Apr/11

Status: Resolved
Project: Gradle
Affects Version/s: 0.9.2
Fix Version/s: 1.0-milestone-3

Type: Bug
Reporter: Andreas Sahlbach Assignee: Peter Niederwieser
Resolution: Fixed Votes: 1


I have the following in my build.gradle:

  configurations {
        all*.exclude group: 'apache', module: 'commons-logging'
        all*.exclude group: 'commons-logging'
        all*.exclude group: 'apache', module: 'log4j'

Works great for the gradle build, commons-logging doesn't show up in any module or artifact. But when I let gradle create the idea files, my modules get a commons-logging dependency added (via transitive dependency)

Shouldn't the above entry prevent this?

Comment by Andreas Sahlbach [ 04/Mar/11 ]

Bug is still present in current 1.0-Milestone 1 release

Comment by Peter Niederwieser [ 19/Apr/11 ]

Note that only per-configuration excludes were affected.

Generated at Wed Jun 30 11:54:59 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.