[GRADLE-1764] Default artifacts are not returned when combined with classifier artifacts when using flatdir repository Created: 24/Aug/11  Updated: 10/Apr/14  Resolved: 10/Apr/14

Status: Resolved
Project: Gradle
Affects Version/s: 1.0-milestone-4
Fix Version/s: 1.0-milestone-6

Type: Bug
Reporter: Daz DeBoer Assignee: Unassigned
Resolution: Fixed Votes: 1


 Description   

When a project declares a dependency both with and without a classifier, gradle should return the default artifacts for the dependency as well as the classifier-defined artifacts.
This works correctly with mavenRepo repositories, but does not work with flatdir repositories.

For example with the declaration:

repositories {
    flatdir dirs: "$projectDir/repo"
}
dependencies {
    compile 'org.myorg:Testproject1:0.1'
    compile 'org.myorg:Testproject1:0.1:tests'
}

configurations.compile will only return 1 artifact: Testproject1-0.1-tests.jar


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