Hi,
I am implementing custom deploy Task in SBT and I need to copy all required jars to deployment folder. I am able to get paths to all external dependencies using update TaskKey. Unfortunately updateReport does not include internal dependencies. Here is my simple configuration
val deploy = TaskKey[Unit]("deploy","deploy")
lazy val projectA = Project(id=project-a,
settings=Project.defaultSettings)
lazy val projectB = Project(id=project-b,
settings=Project.defaultSettings) dependsOn(projectA)
lazy val projectC = Project(id=project-c,
settings=Project.defaultSettings, ++ Seq(deployTask)) dependsOn(projectB)
val deployTask = deploy <<= (update) map {(updateReport) =>
val externalDependency = updateReport.allFiles //paths to all external dependencies are available here
//project-a.jar and project-b.jar are not here
}
So, the question is how can I obtain absolute path to internal project dependencies i.e. project-a.jar, project-b.jar
--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To view this discussion on the web visit https://groups.google.com/d/msg/simple-build-tool/-/tjcf-XTwLLkJ.
To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.