mirror of https://github.com/sbt/sbt.git
Roll back the use of sbt/serialization for update caching
This commit is contained in:
parent
2959e870d7
commit
45813fb692
|
|
@ -38,7 +38,8 @@ object Tracked {
|
|||
toFile(next)(cacheFile)
|
||||
next
|
||||
}
|
||||
private[sbt] def lastOuputWithJson[I, O: Pickler: Unpickler](cacheFile: File)(f: (I, Option[O]) => O): I => O = in =>
|
||||
// Todo: This function needs more testing.
|
||||
private[sbt] def lastOutputWithJson[I, O: Pickler: Unpickler](cacheFile: File)(f: (I, Option[O]) => O): I => O = in =>
|
||||
{
|
||||
val previous: Option[O] = try {
|
||||
fromJsonFile[O](cacheFile).toOption
|
||||
|
|
|
|||
Loading…
Reference in New Issue