mirror of https://github.com/sbt/sbt.git
Adjust to util bump
This commit is contained in:
parent
11f9dc6534
commit
e4c1a1c559
|
|
@ -4,7 +4,7 @@ import sjsonnew._
|
|||
import scala.xml._
|
||||
|
||||
trait NodeSeqFormat { self: BasicJsonProtocol =>
|
||||
implicit lazy val NodeSeqFormat: JsonFormat[NodeSeq] = project[NodeSeq, String](
|
||||
implicit lazy val NodeSeqFormat: JsonFormat[NodeSeq] = projectFormat[NodeSeq, String](
|
||||
xml => <binary>{ xml }</binary>.toString,
|
||||
str => XML.loadString(str).child
|
||||
)
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ trait UpdateOptionsFormat { self: BasicJsonProtocol with ModuleIDFormats with Re
|
|||
}
|
||||
|
||||
implicit lazy val UpdateOptionsFormat: JsonFormat[UpdateOptions] =
|
||||
project(
|
||||
projectFormat(
|
||||
(uo: UpdateOptions) =>
|
||||
(
|
||||
uo.circularDependencyLevel.name,
|
||||
|
|
|
|||
Loading…
Reference in New Issue