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.
|