How to add local dependencies in buildr

For a java / scala project, I have some dependencies that are not in the remote repository, but somewhere else in my file system. I have two options that lead to questions:

  • I can add a directory lib/to the project folder. How can I tell buildr to add content to the class path?

  • I can use the built-in dependency management system. Can I specify the path of the file system repository instead of the http address?

thanks

+5
source share
2 answers

, buildr. compile.with() (, ). , jars lib, :

compile.with Dir['lib/*.jar'] 

buildfile. , buildr.

+9

:

. http-?

, maven2, file:/// "remote" .

+3

All Articles