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:
Dale Wijnand 2017-05-08 14:08:40 +01:00
parent 33f79a9fcd
commit d5a10923f8
No known key found for this signature in database
GPG Key ID: 4F256E3D151DF5EF
1 changed files with 1 additions and 6 deletions

View File

@ -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 ++