lila/project/Dependencies.scala

85 lines
4.3 KiB
Scala
Raw Normal View History

2015-07-14 06:04:51 -06:00
import play.sbt.PlayImport._
2014-02-09 12:43:15 -07:00
import sbt._, Keys._
2013-03-14 12:16:36 -06:00
object Dependencies {
2020-08-12 09:23:37 -06:00
val lilaMaven = "lila-maven" at "https://raw.githubusercontent.com/ornicar/lila-maven/master"
2013-03-14 12:16:36 -06:00
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.10"
val chess = "org.lichess" %% "scalachess" % "10.2.1"
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 scrimage = "com.sksamuel.scrimage" % "scrimage-core" % "4.0.17"
val scaffeine = "com.github.blemale" %% "scaffeine" % "4.0.2" % "compile"
val googleOAuth = "com.google.auth" % "google-auth-library-oauth2-http" % "0.25.2"
2021-03-16 21:30:19 -06:00
val scalaUri = "io.lemonlabs" %% "scala-uri" % "3.2.0"
2021-03-25 05:40:57 -06:00
val scalatags = "com.lihaoyi" %% "scalatags" % "0.9.4"
val lettuce = "io.lettuce" % "lettuce-core" % "5.3.6.RELEASE"
val epoll = "io.netty" % "netty-transport-native-epoll" % "4.1.58.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
2021-03-24 11:32:51 -06:00
val uaparser = "org.uaparser" %% "uap-scala" % "0.13.0"
val specs2 = "org.specs2" %% "specs2-core" % "4.10.6" % Test
val apacheText = "org.apache.commons" % "commons-text" % "1.9"
val bloomFilter = "com.github.alexandrnikitin" %% "bloom-filter" % "0.13.1"
2014-04-29 03:33:50 -06:00
object flexmark {
val version = "0.50.50"
val bundle =
("com.vladsch.flexmark" % "flexmark" % version) ::
List("formatter", "ext-tables", "ext-autolink", "ext-gfm-strikethrough").map { ext =>
"com.vladsch.flexmark" % s"flexmark-$ext" % version
}
}
2019-11-30 15:45:44 -07:00
object macwire {
2020-08-13 11:02:40 -06:00
val version = "2.3.7"
val macros = "com.softwaremill.macwire" %% "macros" % version % "provided"
val util = "com.softwaremill.macwire" %% "util" % version % "provided"
def bundle = Seq(macros, util)
2019-11-30 15:45:44 -07:00
}
object reactivemongo {
2021-02-08 01:37:25 -07:00
val version = "1.0.3"
2020-07-19 07:11:06 -06:00
2020-07-23 03:12:59 -06:00
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"
2021-02-07 10:32:43 -07:00
val kamon = "org.reactivemongo" %% "reactivemongo-kamon" % version
2020-07-23 03:12:59 -06:00
def bundle = Seq(driver, stream)
}
2013-05-13 20:22:16 -06:00
object play {
2021-02-08 04:52:02 -07:00
val version = "2.8.7-lila_1.6"
2020-08-07 09:51:07 -06:00
val api = "com.typesafe.play" %% "play" % version
2021-01-04 14:53:30 -07:00
val json = "com.typesafe.play" %% "play-json" % "2.9.2"
2013-05-13 20:22:16 -06:00
}
2020-08-07 09:51:07 -06:00
object playWs {
val version = "2.1.2"
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 {
2021-02-10 05:24:07 -07:00
val version = "2.1.12"
2020-05-05 22:40:02 -06:00
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
}
2020-05-09 12:03:24 -06:00
object akka {
2020-08-08 15:32:04 -06:00
val version = "2.6.8"
2020-05-09 12:03:24 -06:00
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
2020-06-18 09:21:30 -06:00
val testkit = "com.typesafe.akka" %% "akka-testkit" % version % Test
2020-05-09 12:03:24 -06:00
def bundle = List(akka, akkaTyped, akkaStream, akkaSlf4j)
}
2013-03-14 12:16:36 -06:00
}