Skip to content

Instantly share code, notes, and snippets.

@mguymon
Created April 16, 2012 21:00
Show Gist options
  • Save mguymon/2401487 to your computer and use it in GitHub Desktop.
Save mguymon/2401487 to your computer and use it in GitHub Desktop.
lockjar buildfile
require 'lock_jar/buildr'
# app definition, inherited into all projects
lock_jar do
repository 'http://repository.jboss.org/nexus/content/groups/public-jboss'
scope 'test' do
jar 'junit:junit:jar:4.10'
end
end
define 'app' do
def 'project1' do
lock_jar do
jar "org.apache.mina:mina-core:2.0.4"
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment