[GRADLE-1896] Dependency exclusions not working in 1.0-milestone-6 Created: 05/Nov/11 Updated: 04/Jan/13 Resolved: 07/Nov/11 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 1.0-milestone-6 |
Fix Version/s: | 1.0-milestone-6 |
Type: | Bug | ||
Reporter: | Kelly Robinson | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Description |
I tried the latest 1.0-milestone-6 and it appears to ignore dependency exclusions, unless the syntax has changed since 1.0-milestone-5 |
Comments |
Comment by Kelly Robinson [ 05/Nov/11 ] |
//This minimal build exposes the problem: apply plugin: 'java' repositories { mavenCentral() } dependencies { compile("d-haven-mpool:managed-pool:1.0") { exclude(module: 'event') } } task wrapper(type: Wrapper) { // gradleVersion = '1.0-milestone-3' distributionUrl = 'http://repo.gradle.org/gradle/distributions-snapshots/gradle-1.0-milestone-6-20111105000031+0100-bin.zip' } |
Comment by Kelly Robinson [ 05/Nov/11 ] |
This works in 1.0-milestone-3 and 1.0-milestone-5 but errors out with the latest version: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':dependencies'. Cause: Could not resolve all dependencies for configuration ':compile'. Cause: Module event:event:1.0 not found. It is required by: d-haven-mpool:managed-pool:1.0 :excludeBrokenTestM6:unspecified |