You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@buildr.apache.org by Michael Guymon <mi...@gmail.com> on 2012/04/16 23:07:15 UTC
Transitive Dependencies in Buildr with LockJar
So LockJar is finally up and running, a frankenstein of Maven and Bundler.
https://github.com/mguymon/lock_jar
You just need to install the lock_jar gem and require 'lock_jar/buildr'
in your buildfile to include the addon.
https://gist.github.com/2401487
The new task lockjar:lock will generate the Jarfile.lock which contains
all the transitive dependencies for the lock_jar definitions in the
buildfile.
https://gist.github.com/2401497
That is used when compiling and tests. If you change the lock_jar
definitions, you have to re-generate the Jarfile.lock.