Created
June 8, 2011 13:31
-
-
Save butlermh/1014415 to your computer and use it in GitHub Desktop.
Using configurations in Ivy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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