Skip to content

Instantly share code, notes, and snippets.

@dant3
Created February 3, 2015 11:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dant3/52902166b8ec45ac2b21 to your computer and use it in GitHub Desktop.
Save dant3/52902166b8ec45ac2b21 to your computer and use it in GitHub Desktop.
Ivy example
brew install ivy
ivy -retrieve "lib/[artifact].[ext]"
<ivy-module version="2.0">
<info organisation="com.company" module="foobar"/>
<configurations>
<!-- optional - download source code <conf name="sources" description="Source archives"/>-->
<conf name="binaries" description="binary artifacts"/>
</configurations>
<dependencies>
<!-- src deps -->
<!--
<dependency org="com.google.guava" name="guava" rev="10.0.1" conf="sources->sources"/>
<dependency org="com.google.code.gson" name="gson" rev="2.0" conf="sources->sources"/>
-->
<!-- binary deps -->
<dependency org="com.google.guava" name="guava" rev="10.0.1" conf="binaries->default"/>
<dependency org="com.google.code.gson" name="gson" rev="2.0" conf="binaries->default"/>
</dependencies>
</ivy-module>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment