lila/project/Dependencies.scala

68 lines
3.4 KiB
Scala

import play.sbt.PlayImport._
import sbt._, Keys._
object Dependencies {
object Resolvers {
val sonatype = Resolver.sonatypeRepo("releases")
val lilaMaven = "lila-maven" at "https://raw.githubusercontent.com/ornicar/lila-maven/master"
val commons = Seq(lilaMaven, sonatype)
}
val scalaz = "org.scalaz" %% "scalaz-core" % "7.2.29"
val scalalib = "com.github.ornicar" %% "scalalib" % "6.7"
val hasher = "com.roundeights" %% "hasher" % "1.2.1"
val jodaTime = "joda-time" % "joda-time" % "2.10.5"
val chess = "org.lichess" %% "scalachess" % "9.0.27"
val compression = "org.lichess" %% "compression" % "1.5"
val maxmind = "com.sanoma.cda" %% "maxmind-geoip2-scala" % "1.3.1-THIB"
val prismic = "io.prismic" %% "scala-kit" % "1.2.13-THIB213"
val scrimage = "com.sksamuel.scrimage" %% "scrimage-core" % "2.1.8-SNAPSHOT"
val scaffeine = "com.github.blemale" %% "scaffeine" % "3.1.0" % "compile"
val googleOAuth = "com.google.auth" % "google-auth-library-oauth2-http" % "0.18.0"
val scalaUri = "io.lemonlabs" %% "scala-uri" % "1.5.1"
val scalatags = "com.lihaoyi" %% "scalatags" % "0.7.0"
val lettuce = "io.lettuce" % "lettuce-core" % "5.2.1.RELEASE"
val epoll = "io.netty" % "netty-transport-native-epoll" % "4.1.43.Final" classifier "linux-x86_64"
val markdown = "com.vladsch.flexmark" % "flexmark-all" % "0.50.44"
val autoconfig = "io.methvin.play" %% "autoconfig-macros" % "0.3.2-SNAPSHOT" % "provided"
object macwire {
val version = "2.3.3"
val macros = "com.softwaremill.macwire" %% "macros" % version % "provided"
val util = "com.softwaremill.macwire" %% "util" % version % "provided"
}
object reactivemongo {
val version = "0.19.3"
val driver = "org.reactivemongo" %% "reactivemongo" % "0.20.0-SNAPSHOT"
val bson = "org.reactivemongo" %% "reactivemongo-bson-api" % "0.20.0-SNAPSHOT"
val stream = "org.reactivemongo" %% "reactivemongo-akkastream" % version
// val native = "org.reactivemongo" % "reactivemongo-shaded-native" % s"$version-linux-x86-64" classifier "linux-x86_64"
val native = "org.reactivemongo" % "reactivemongo-shaded-native" % s"$version-linux-x86-64"
// #TODO remove compat
val compat = "org.reactivemongo" %% "reactivemongo-bson-compat" % version
def bundle = Seq(driver, bson, compat, stream)
}
object play {
val version = "2.8.0"
val api = "com.typesafe.play" %% "play" % version
val json = "com.typesafe.play" %% "play-json" % version
}
object kamon {
val core = "io.kamon" %% "kamon-core" % "2.0.2"
val influxdb = "io.kamon" %% "kamon-influxdb" % "2.0.1-LILA"
val metrics = "io.kamon" %% "kamon-system-metrics" % "2.0.0"
}
object silencer {
val version = "1.4.4"
val plugin = "com.github.ghik" % "silencer-plugin" % version cross CrossVersion.full
val lib = "com.github.ghik" % "silencer-lib" % version % Provided cross CrossVersion.full
val bundle = Seq(compilerPlugin(plugin), lib)
}
}