Including of jars from Flat repositories into dependencies


(Jay Vyas) #1

How do jars to include in dependencies from flat/ repositories get specified in the dependencies section - can we use glob expressions (include all jars in lib/), or excludes/include regular expressions?


(Peter Niederwieser) #2

The syntax for flatdir dependencies is the same as for regular repository dependencies. If you want to include by glob, you need to use something like ‘compile fileTree(“lib”) { include “**/Foo*” }’, rather than flatdir dependencies.