Skip to content

Commit

Permalink
refactor dependencies versions
Browse files Browse the repository at this point in the history
Signed-off-by: Stanchev Aleksandar <[email protected]>
  • Loading branch information
alstanchev committed Aug 24, 2023
1 parent 6d8446c commit 4d21ee4
Showing 1 changed file with 22 additions and 19 deletions.
41 changes: 22 additions & 19 deletions project/ProjectSettings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ import scalariform.formatter.preferences._
import com.typesafe.sbt.SbtScalariform

object ProjectSettings extends AutoPlugin {
final val PekkoVersion = "1.0.1"
final val ScalazVersion = "7.3.7"
final val ScalaTestVersion = "3.2.15"
final val ScalaXmlVersion = "2.1.0"
final val LogbackVersion = "1.4.7"
final val PekkoV = "1.0.1"
final val scala212V = "2.12.18"
final val scala213V = "2.13.11"
final val scalaV = scala213V
final val ScalazV = "7.3.7"
final val ScalaTestV = "3.2.15"
final val ScalaXmlV = "2.1.0"
final val LogbackV = "1.4.7"
final val version = "0.0.0-SNAPSHOT"

override def requires = plugins.JvmPlugin && SbtScalariform
Expand All @@ -21,27 +24,27 @@ object ProjectSettings extends AutoPlugin {
description := "A plugin for storing events in an event journal pekko-persistence-inmemory",
startYear := Some(2023),

scalaVersion := "2.13.7",
crossScalaVersions := Seq("2.12.15", "2.13.7", "3"),
scalaVersion := scalaV,
crossScalaVersions := Seq(scala212V, scala213V),
crossVersion := CrossVersion.binary,

licenses := Seq(("Apache-2.0", new URL("https://www.apache.org/licenses/LICENSE-2.0.txt"))),

) ++ compilerSettings ++ scalariFormSettings ++ resolverSettings ++ librarySettings ++ testSettings

lazy val librarySettings = Seq(
libraryDependencies += "org.apache.pekko" %% "pekko-actor" % PekkoVersion,
libraryDependencies += "org.apache.pekko" %% "pekko-persistence" % PekkoVersion,
libraryDependencies += "org.apache.pekko" %% "pekko-persistence-query" % PekkoVersion,
libraryDependencies += "org.apache.pekko" %% "pekko-stream" % PekkoVersion,
libraryDependencies += "org.scalaz" %% "scalaz-core" % ScalazVersion,
libraryDependencies += "ch.qos.logback" % "logback-classic" % LogbackVersion % Test,
libraryDependencies += "org.apache.pekko" %% "pekko-slf4j" % PekkoVersion % Test,
libraryDependencies += "org.apache.pekko" %% "pekko-persistence-tck" % PekkoVersion % Test,
libraryDependencies += "org.apache.pekko" %% "pekko-stream-testkit" % PekkoVersion % Test,
libraryDependencies += "org.apache.pekko" %% "pekko-testkit" % PekkoVersion % Test,
libraryDependencies += "org.scalatest" %% "scalatest" % ScalaTestVersion % Test,
libraryDependencies += "org.scala-lang.modules" %% "scala-xml" % ScalaXmlVersion % Test,
libraryDependencies += "org.apache.pekko" %% "pekko-actor" % PekkoV,
libraryDependencies += "org.apache.pekko" %% "pekko-persistence" % PekkoV,
libraryDependencies += "org.apache.pekko" %% "pekko-persistence-query" % PekkoV,
libraryDependencies += "org.apache.pekko" %% "pekko-stream" % PekkoV,
libraryDependencies += "org.scalaz" %% "scalaz-core" % ScalazV,
libraryDependencies += "ch.qos.logback" % "logback-classic" % LogbackV % Test,
libraryDependencies += "org.apache.pekko" %% "pekko-slf4j" % PekkoV % Test,
libraryDependencies += "org.apache.pekko" %% "pekko-persistence-tck" % PekkoV % Test,
libraryDependencies += "org.apache.pekko" %% "pekko-stream-testkit" % PekkoV % Test,
libraryDependencies += "org.apache.pekko" %% "pekko-testkit" % PekkoV % Test,
libraryDependencies += "org.scalatest" %% "scalatest" % ScalaTestV % Test,
libraryDependencies += "org.scala-lang.modules" %% "scala-xml" % ScalaXmlV % Test,

)

Expand Down

0 comments on commit 4d21ee4

Please sign in to comment.