mirror of https://github.com/sbt/sbt.git
use `scalaVersion in update` to lookup report file
This will help if you use the common scalaVersion := "2.9.2" scalaVersion in update := "2.9.1" idiom.
This commit is contained in:
parent
6722536991
commit
be22b8c663
|
|
@ -28,7 +28,7 @@ object Plugin extends sbt.Plugin {
|
|||
"A task which returns the location of the ivy report file for a given configuration (default `compile`).")
|
||||
|
||||
def graphSettings = Seq(
|
||||
ivyReportF <<= (projectID, scalaVersion, appConfiguration) { (projectID, scalaVersion, config) =>
|
||||
ivyReportF <<= (projectID, scalaVersion in update, appConfiguration) { (projectID, scalaVersion, config) =>
|
||||
val home = config.provider.scalaProvider.launcher.ivyHome
|
||||
(c: String) => file("%s/cache/%s-%s-%s.xml" format (home, projectID.organization, crossName(projectID, scalaVersion), c))
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue