lila/project/Dependencies.scala

86 lines
4.3 KiB
Scala

import play.sbt.PlayImport._
import sbt._, Keys._
object Dependencies {
val lilaMaven = "lila-maven" at "https://raw.githubusercontent.com/ornicar/lila-maven/master"
val scalalib = "com.github.ornicar" %% "scalalib" % "7.0.2"
val hasher = "com.roundeights" %% "hasher" % "1.2.1"
val jodaTime = "joda-time" % "joda-time" % "2.10.13"
val chess = "org.lichess" %% "scalachess" % "10.2.11"
val compression = "org.lichess" %% "compression" % "1.6"
val maxmind = "com.sanoma.cda" %% "maxmind-geoip2-scala" % "1.3.1-THIB"
val prismic = "io.prismic" %% "scala-kit" % "1.2.19-THIB213"
val scaffeine = "com.github.blemale" %% "scaffeine" % "5.1.1" % "compile"
val googleOAuth = "com.google.auth" % "google-auth-library-oauth2-http" % "1.3.0"
val scalaUri = "io.lemonlabs" %% "scala-uri" % "3.6.0"
val scalatags = "com.lihaoyi" %% "scalatags" % "0.10.0"
val lettuce = "io.lettuce" % "lettuce-core" % "6.1.5.RELEASE"
val epoll = "io.netty" % "netty-transport-native-epoll" % "4.1.65.Final" classifier "linux-x86_64"
val autoconfig = "io.methvin.play" %% "autoconfig-macros" % "0.3.2" % "provided"
val scalatest = "org.scalatest" %% "scalatest" % "3.1.0" % Test
val uaparser = "org.uaparser" %% "uap-scala" % "0.13.0"
val specs2 = "org.specs2" %% "specs2-core" % "4.13.1" % Test
val apacheText = "org.apache.commons" % "commons-text" % "1.9"
val bloomFilter = "com.github.alexandrnikitin" %% "bloom-filter" % "0.13.1"
object flexmark {
val version = "0.62.2"
val bundle =
("com.vladsch.flexmark" % "flexmark" % version) ::
List("ext-tables", "ext-autolink", "ext-gfm-strikethrough").map { ext =>
"com.vladsch.flexmark" % s"flexmark-$ext" % version
}
}
object macwire {
val version = "2.4.2"
val macros = "com.softwaremill.macwire" %% "macros" % version % "provided"
val util = "com.softwaremill.macwire" %% "util" % version % "provided"
val tagging = "com.softwaremill.common" %% "tagging" % "2.3.2"
def bundle = Seq(macros, util, tagging)
}
object reactivemongo {
val version = "1.0.8"
val driver = "org.reactivemongo" %% "reactivemongo" % version
val stream = "org.reactivemongo" %% "reactivemongo-akkastream" % version
val epoll = "org.reactivemongo" % "reactivemongo-shaded-native" % s"$version-linux-x86-64"
val kamon = "org.reactivemongo" %% "reactivemongo-kamon" % "1.0.8"
def bundle = Seq(driver, stream)
}
object play {
val version = "2.8.8-lila_1.8"
val api = "com.typesafe.play" %% "play" % version
val json = "com.typesafe.play" %% "play-json" % "2.9.2"
val mailer = "com.typesafe.play" %% "play-mailer" % "8.0.1"
}
object playWs {
val version = "2.1.3"
val ahc = "com.typesafe.play" %% "play-ahc-ws-standalone" % version
val json = "com.typesafe.play" %% "play-ws-standalone-json" % version
val bundle = Seq(ahc, json)
}
object kamon {
val version = "2.2.3"
val core = "io.kamon" %% "kamon-core" % version
val influxdb = "io.kamon" %% "kamon-influxdb" % version
val metrics = "io.kamon" %% "kamon-system-metrics" % version
val prometheus = "io.kamon" %% "kamon-prometheus" % version
}
object akka {
val version = "2.6.16"
val akka = "com.typesafe.akka" %% "akka-actor" % version
val akkaTyped = "com.typesafe.akka" %% "akka-actor-typed" % version
val akkaStream = "com.typesafe.akka" %% "akka-stream" % version
val akkaSlf4j = "com.typesafe.akka" %% "akka-slf4j" % version
val testkit = "com.typesafe.akka" %% "akka-testkit" % version % Test
def bundle = List(akka, akkaTyped, akkaStream, akkaSlf4j)
}
}