scala - Is there any way to use SBT's resolver only for subset of artifacts? -
is there way define custom resolver used subset of artifacts, more fetch artifacts predefined groupid
?
for example, project defines custom fooresolver
should used artifacts groupid
org.foo
other artifacts should resolved using default resolver.
to add unmanaged dependencies sbt project, simplest solution put jars in lib
folder in project. libraries in lib
folder in classpath default.
if want use folder instead of lib
, can redefine it:
unmanagedbase := // provide java.io.file here.
if want more complex: sbt retrieves unmanaged libraries unmanagedjars
task, can redefine task (but sign you're trying complicated reasonably use unmanaged dependencies...).
Comments
Post a Comment