mirror of https://github.com/sbt/sbt.git
Drop myProvided from the build
Introduces by Mark in d928047678.
Dropped because Project#copy no longer exists (publically) in sbt 1.
It looks like it might have been added to deal with transitive
dependencies of scala-compiler, possibly JLine. Now it looks like it's
only used by launcher-interface, which has 0 dependencies.
This commit is contained in:
parent
33f79a9fcd
commit
d5a10923f8
|
|
@ -312,8 +312,6 @@ def scriptedUnpublishedTask: Def.Initialize[InputTask[Unit]] = Def.inputTask {
|
|||
|
||||
lazy val publishLauncher = TaskKey[Unit]("publish-launcher")
|
||||
|
||||
lazy val myProvided = config("provided") intransitive
|
||||
|
||||
def allProjects =
|
||||
Seq(
|
||||
testingProj,
|
||||
|
|
@ -332,10 +330,7 @@ def allProjects =
|
|||
bundledLauncherProj
|
||||
)
|
||||
|
||||
def projectsWithMyProvided =
|
||||
allProjects.map(p =>
|
||||
p.copy(configurations = (p.configurations.filter(_ != Provided)) :+ myProvided))
|
||||
lazy val nonRoots = projectsWithMyProvided.map(p => LocalProject(p.id))
|
||||
lazy val nonRoots = allProjects.map(p => LocalProject(p.id))
|
||||
|
||||
def rootSettings =
|
||||
fullDocSettings ++
|
||||
|
|
|
|||
Loading…
Reference in New Issue