On Nov 14, 2008, at 10:09 AM, mvlcek wrote:

<snip>

See the following example of an ivy.xml:
<publications>
        <artifact name="mySomething" type="jar" conf="master" />
        <artifact name="mySomethingSecurity" type="jar" conf="security" />
        <artifact name="mySomethingExtension" type="jar" conf="extension" />
        <artifact name="myTags" type="tld" conf="tags" />
</publications>

This way whoever needs my module, can specify which configuration (s) he
needs and will get the appropriate jars (and other files).

This should be straight forward:

dependencies {
  addConfiguration('source')
}

libs {
  jar(appendix: 'src') {
    fileSet( ... )
    configurations 'source'
  }
}

- Hans

--
Hans Dockter
Gradle Project lead
http://www.gradle.org





---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to