[GRADLE-1919] Provide "m2compatible" property for IvyArtifactRepository Created: 11/Nov/11  Updated: 04/Jan/13  Resolved: 22/Nov/12

Status: Resolved
Project: Gradle
Affects Version/s: 1.0-milestone-6
Fix Version/s: 1.4-rc-1

Type: Improvement
Reporter: Peter Niederwieser Assignee: Unassigned
Resolution: Fixed Votes: 0

Issue Links:
Related
Related to GRADLE-2142 Provide a way to provide a custom pat... Resolved

 Description   

For people with existing Ivy repos (and therefore an Ivy background), it can be difficult to understand how to declare a particular repo layout in Gradle (say the equivalent of an m2compatible resolver with custom ivy and artifact pattern). I'd like to see IvyArtifactRepository to be detangled a bit, with an explicit m2compatible property and two layouts "maven" and "gradle" which simply provide defaults for ivyPattern/artifactPattern/m2compatible/etc. that can be overridden independently. The layouts shouldn't have any hidden semantics such as m2compatible being true for maven layout and false for other layouts. This is closer to the Ivy model and therefore easier to understand.



 Comments   
Comment by Peter Niederwieser [ 03/Dec/12 ]

The solution chosen was to introduce an m2compatible flag on PatternRepositoryLayout.

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