Details
-
Type:
Task
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Documentation
-
Labels:None
Description
The maven dependency that I have, has a war and a jar for the same groupid and artifactid
in maven pom, one can define:
<dependency>
<groupId>com.example</groupId>
<artifactId>blah</artifactId>
<version>1.0</version>
<type>jar</type>
</dependency>
But we can't do the same in BuildConfig.groovy
Something like following should be supported:
dependencies
{ compile 'com.example:blah:1.0:jar' }Update:
After learning a little bit about how things are configured in Apache Ivy, following worked for me:
compile ('com.example:blah:5.0.2.0')
{ addDependencyArtifact("*", new org.apache.ivy.core.module.descriptor.DefaultDependencyArtifactDescriptor(delegate, "blah", "jar", "jar",null,null)) }It would be nice if we can document this in the user guide.
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits