Skip to content

Commit

Permalink
s/Versions/V
Browse files Browse the repository at this point in the history
  • Loading branch information
gvolpe committed May 9, 2020
1 parent 3e375a1 commit 8bda1c1
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import sbt._

object Dependencies {

object Versions {
object V {
val cats = "2.1.1"
val catsEffect = "2.1.3"
val fs2 = "2.3.0"
Expand All @@ -20,32 +20,32 @@ object Dependencies {
}

object Libraries {
def cats(artifact: String): ModuleID = "org.typelevel" %% s"cats-$artifact" % Versions.cats
def log4cats(artifact: String): ModuleID = "io.chrisdavenport" %% s"log4cats-$artifact" % Versions.log4cats
def cats(artifact: String): ModuleID = "org.typelevel" %% s"cats-$artifact" % V.cats
def log4cats(artifact: String): ModuleID = "io.chrisdavenport" %% s"log4cats-$artifact" % V.log4cats

val catsEffect = "org.typelevel" %% "cats-effect" % Versions.catsEffect
val fs2Core = "co.fs2" %% "fs2-core" % Versions.fs2
val catsEffect = "org.typelevel" %% "cats-effect" % V.catsEffect
val fs2Core = "co.fs2" %% "fs2-core" % V.fs2

val log4CatsCore = log4cats("core")
val log4CatsSlf4j = log4cats("slf4j")

val redisClient = "io.lettuce" % "lettuce-core" % Versions.lettuce
val logback = "ch.qos.logback" % "logback-classic" % Versions.logback
val redisClient = "io.lettuce" % "lettuce-core" % V.lettuce
val logback = "ch.qos.logback" % "logback-classic" % V.logback

// Scala test libraries
val catsLaws = cats("core")
val catsTestKit = cats("testkit")
val catsTestKitST = "org.typelevel" %% "cats-testkit-scalatest" % "1.0.1"

val scalaTest = "org.scalatest" %% "scalatest" % Versions.scalaTest
val scalaCheck = "org.scalacheck" %% "scalacheck" % Versions.scalaCheck
val scalaTest = "org.scalatest" %% "scalatest" % V.scalaTest
val scalaCheck = "org.scalacheck" %% "scalacheck" % V.scalaCheck
}

object CompilerPlugins {
val betterMonadicFor = compilerPlugin("com.olegpy" %% "better-monadic-for" % Versions.betterMonadicFor)
val contextApplied = compilerPlugin("org.augustjune" %% "context-applied" % Versions.contextApplied)
val betterMonadicFor = compilerPlugin("com.olegpy" %% "better-monadic-for" % V.betterMonadicFor)
val contextApplied = compilerPlugin("org.augustjune" %% "context-applied" % V.contextApplied)
val kindProjector = compilerPlugin(
"org.typelevel" % "kind-projector" % Versions.kindProjector cross CrossVersion.full
"org.typelevel" % "kind-projector" % V.kindProjector cross CrossVersion.full
)
}

Expand Down

0 comments on commit 8bda1c1

Please sign in to comment.