diff --git a/project/Settings.scala b/project/Settings.scala index 24d29be4..55f906bb 100644 --- a/project/Settings.scala +++ b/project/Settings.scala @@ -17,7 +17,8 @@ object Settings { val scalaTest = "3.2.15" val scalactic = "3.2.15" val scopt = "3.5.0" - val circe = "0.13.0" + val circe = "0.14.9" + val circeGenericExtras = "0.14.4" val jupyterScala = "0.4.1" } @@ -26,7 +27,7 @@ object Settings { "io.circe" %%% "circe-core" % versions.circe, "io.circe" %%% "circe-generic" % versions.circe, "io.circe" %%% "circe-parser" % versions.circe, - "io.circe" %%% "circe-generic-extras" % versions.circe, + "io.circe" %%% "circe-generic-extras" % versions.circeGenericExtras, "org.scalatest" %%% "scalatest" % versions.scalaTest % "it,test", ) ) diff --git a/shared/src/main/scala/com/cibo/evilplot/geometry/Gradient2D.scala b/shared/src/main/scala/com/cibo/evilplot/geometry/Gradient2D.scala index e824d70a..ebed3354 100644 --- a/shared/src/main/scala/com/cibo/evilplot/geometry/Gradient2D.scala +++ b/shared/src/main/scala/com/cibo/evilplot/geometry/Gradient2D.scala @@ -35,7 +35,7 @@ import com.cibo.evilplot.colors.Color import com.cibo.evilplot.numeric.{Point, Point2d} import io.circe.generic.extras.Configuration import io.circe.generic.extras.semiauto._ -import io.circe.{Decoder, Encoder, ObjectEncoder} +import io.circe.{Decoder, Encoder} sealed trait Gradient2d { val stops: Seq[GradientStop]