Hi,

I would like to exclude a transitive dependency in the classpath
configuration of my buildscript closure. However, it doesn't seems to be
taken into account. Gradle still tries to resolve the dependency. The one I
want to exclude is org.eclipse.jdt.core.compiler:ecj:3.6. Is this maybe
related to  http://issues.gradle.org/browse/GRADLE-1092 GRADLE-1092 ? If yes
is there a workaround? I am using version 1.0-m2. This is my buildscript
closure:

buildscript {
    repositories {
        mavenCentral()
    }

    dependencies {
        classpath ...
    }
    
    configurations {
        classpath {
            exclude group: 'org.eclipse.jdt.core.compiler', module: 'ecj'
        }
    }
}

Thanks,

Ben

--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Exclude-transitive-dependency-in-buildscript-closure-tp4306720p4306720.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to