Skip to content

Instantly share code, notes, and snippets.

@butlermh
Created June 8, 2011 13:31
Show Gist options
  • Save butlermh/1014415 to your computer and use it in GitHub Desktop.
Save butlermh/1014415 to your computer and use it in GitHub Desktop.
Using configurations in Ivy
<ivy-module version="1.0">
<info .... />
<configurations>
<conf name="job" description=".job file dependency"/>
<conf name="test" description="Test dependency"/>
<conf name="default" extends="job" description="Dependency required by users of .jar"/>
</configurations>
<publications .... />
<dependencies defaultconf="*->*,!sources,!javadoc">
<dependency org="uk.ac.gate" name="gate-core" rev="6.1" conf="job->default(*),optional(*)"/>
<dependency org="junit" name="junit" rev="4.8.1" conf="test->default"/>
</dependencies>
</ivy-module>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment