Details
Description
From the mailing list:
I would like to suggest a patch for this defect:
Could you please review it?
Thanks,
Sergey
—
Index: GrapeIvy.groovy
===================================================================
--- GrapeIvy.groovy (revision 21815)
+++ GrapeIvy.groovy (working copy)
@@ -197,6 +197,7 @@
}
String groupId = deps.group ?: deps.groupId ?: deps.organisation ?: deps.organization ?: deps.org ?: ''
+ String ext = deps.ext ?: deps.type ?: ''
//TODO accept ranges and decode them? except '1.0.0'..<'2.0.0' won't work in groovy
String version = deps.version ?: deps.revision ?: deps.rev ?: '*'
@@ -214,7 +215,7 @@
}
def classifier = deps.classifier ?: null
- return new IvyGrabRecord(mrid:mrid, conf:conf, changing:changing, transitive:transitive, force:force, classifier:classifier)
+ return new IvyGrabRecord(mrid:mrid, conf:conf, changing:changing, transitive:transitive, force:force, classifier:classifier, ext:ext)
}
public grab(String endorsedModule) {
Use case from mailing list: