Skip to content

Instantly share code, notes, and snippets.

@ayush
Created May 23, 2011 11:46
Show Gist options
  • Save ayush/986585 to your computer and use it in GitHub Desktop.
Save ayush/986585 to your computer and use it in GitHub Desktop.
Scala, Ivy, Ant and ScalaTest: a simple library project - ivy dependency file
<ivy-module version="2.0">
<info organisation="com.glug" module="mylib"/>
<configurations>
<conf name="core" description="only provide core library"/>
<conf name="test" extends="core" visibility="private" description="for testing the library"/>
<conf name="scala-lang" visibility="private" description="scala compile and library"/>
</configurations>
<publications>
<artifact name="mylib" type="jar" conf="core" ext="jar"/>
</publications>
<dependencies>
<dependency org="com.google.code.gson" name="gson" rev="1.7.1" conf="core->default"/>
<dependency org="org.slf4j" name="slf4j-api" rev="1.6.1" conf="core->default"/>
<dependency org="org.slf4j" name="slf4j-simple" rev="1.6.1" conf="core->default"/>
<dependency org="org.scalatest" name="scalatest_2.9.0" rev="1.4.1" conf="test->default"/>
<dependency org="org.scala-lang" name="scala-compiler" rev="2.9.0" conf="scala-lang->default"/>
<dependency org="org.scala-lang" name="scala-library" rev="2.9.0" conf="scala-lang->default"/>
</dependencies>
</ivy-module>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment