I'm trying to make use of the provided configuration in SBT, but I'm having trouble figuring out how to get the full provided dependency classpath.
For simplicity, let's say I have two projects, A and B :
- A has a few (JAR) dependencies, and exports compiled class files to 
path/to/A/target - B depends on A in the 
providedscope (Project("B") dependsOn(A % "provided")) and exports compiled class files topath/to/B/target 
In B, this returns the provided JARs, but not the provided internal dependencies :
providedDependencies <<= (update) map (_.select(Set("provided")))
This returns the internal dependencies (path/to/A/target) for every configuration, but not specifically for the provided scope, and does not output the JAR dependencies :
providedDependencies <<= (internalDependencyClasspath) map (_.files)
However, the A module shows up in the provided scope when using show update in the B project.
Any idea?