Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
YuriyMazepin committed Feb 23, 2024
1 parent ea7f314 commit b6e7630
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions bench/src/main/scala-2.13/data.scala
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ object States {
val data = Data(value=value, lastModified=lastModified, vc=vc)
import proto.encode
import proto.macrosapi.caseCodecIdx
implicit val vCodec = caseCodecIdx[Version]
implicit val vcCodec = caseCodecIdx[VectorClock]
implicit val vCodec: MessageCodec[Version] = caseCodecIdx
implicit val vcCodec: MessageCodec[VectorClock] = caseCodecIdx
val codec = caseCodecIdx[Data]
val bytes: Array[Byte] = encode(data)(codec)
}
Expand Down
4 changes: 2 additions & 2 deletions bench/src/main/scala-2.13/msg.scala
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ object States {
class MacrosState {
val msg = Msg(Stat("cpu", "0.45"), StatMeta("1571067208996", "127.0.0.1:8080"))
import proto.macrosapi.caseCodecIdx
implicit val sCodec = caseCodecIdx[Stat]
implicit val smCodec = caseCodecIdx[StatMeta]
implicit val sCodec: MessageCodec[Stat] = caseCodecIdx
implicit val smCodec: MessageCodec[StatMeta] = caseCodecIdx
val codec = caseCodecIdx[Msg]
val bytes: Array[Byte] = encode(msg)(codec)
}
Expand Down
8 changes: 4 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ ThisBuild / crossScalaVersions := "3.3.1" :: "2.13.12" :: "2.12.18" :: Nil
lazy val proto = project.in(file("proto")).settings(
name := "proto",
version := zero.git.version(),
libraryDependencies += "com.google.protobuf" % "protobuf-java" % "3.23.3",
libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.16" % Test
libraryDependencies += "com.google.protobuf" % "protobuf-java" % "3.25.3",
libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.18" % Test
).dependsOn(protoops)

lazy val protopurs = project.in(file("purs")).settings(
name := "proto-purs"
, version := zero.git.version()
, libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.16" % Test
, libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.18" % Test
).dependsOn(protoops, proto % Test)

lazy val prototex = project.in(file("tex")).settings(
Expand All @@ -43,7 +43,7 @@ lazy val protosyntax = project.in(file("syntax")).settings(

lazy val bench = project.in(file("bench")).settings(
publish / skip := true
, libraryDependencies += "com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.14.0"
, libraryDependencies += "com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.16.1"
, libraryDependencies ++= {
CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, 13)) => Seq(
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.9.8
sbt.version=1.9.9

0 comments on commit b6e7630

Please sign in to comment.