mirror of https://github.com/sbt/sbt.git
fix classpath in buildTarget/scalacOptions
This commit is contained in:
parent
454ee61289
commit
5172775b80
|
|
@ -112,13 +112,14 @@ object BuildServerProtocol {
|
||||||
SourcesItem(id, items)
|
SourcesItem(id, items)
|
||||||
},
|
},
|
||||||
bspBuildTargetCompileItem := bspCompileTask.value,
|
bspBuildTargetCompileItem := bspCompileTask.value,
|
||||||
bspBuildTargetScalacOptionsItem :=
|
bspBuildTargetScalacOptionsItem := {
|
||||||
ScalacOptionsItem(
|
ScalacOptionsItem(
|
||||||
target = buildTargetIdentifier.value,
|
target = buildTargetIdentifier.value,
|
||||||
options = scalacOptions.value.toVector,
|
options = scalacOptions.value.toVector,
|
||||||
classpath = fullClasspath.value.toVector.map(_.data.toURI),
|
classpath = dependencyClasspath.value.map(_.data.toURI).toVector,
|
||||||
classDirectory = classDirectory.value.toURI
|
classDirectory = classDirectory.value.toURI
|
||||||
)
|
)
|
||||||
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
def handler(sbtVersion: String): ServerHandler = ServerHandler { callback =>
|
def handler(sbtVersion: String): ServerHandler = ServerHandler { callback =>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue