[GRADLE-1170] eclipseClasspath includes too many dependencies Created: 08/Oct/10  Updated: 04/Jan/13  Resolved: 09/May/11

Status: Resolved
Project: Gradle
Affects Version/s: 0.9
Fix Version/s: None

Type: Bug
Reporter: Jeppe Nejsum Madsen Assignee: Unassigned
Resolution: Duplicate Votes: 2


 Description   

I have some dependencies that include log4j, but I need logback instead.

So I add the following to build.gradle

configurations {
compile.exclude module: "commons-logging"
compile.exclude module: "slf4j-log4j12"
compile.exclude module: "log4j"
}

This works fine, and gradle -n doesn't show any log4j jars being included.

But running eclipseClasspath generates a .classpath that includes the
log4j jars (i've tried removing .classpath, .gradle etc first, but no
change)



 Comments   
Comment by Szczepan Faber [ 09/May/11 ]

I believe it is a duplicate of GRADLE-1092

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