sbt/project/Deps.scala

56 lines
2.1 KiB
Scala
Raw Normal View History

2017-04-02 21:51:11 +02:00
import sbt._
2017-06-06 19:51:38 +02:00
import sbt.Defaults.sbtPluginExtra
2017-04-02 21:51:11 +02:00
import sbt.Keys._
object Deps {
def quasiQuotes = "org.scalamacros" %% "quasiquotes" % "2.1.0"
2017-05-15 15:32:53 +02:00
def fastParse = "com.lihaoyi" %% "fastparse" % SharedVersions.fastParse
2017-04-02 21:51:11 +02:00
def jsoup = "org.jsoup" % "jsoup" % "1.10.2"
def scalaXml = "org.scala-lang.modules" %% "scala-xml" % "1.0.6"
def scalazConcurrent = "org.scalaz" %% "scalaz-concurrent" % SharedVersions.scalaz
def caseApp = "com.github.alexarchambault" %% "case-app" % "1.1.3"
2017-05-15 15:32:49 +02:00
def caseApp12 = "com.github.alexarchambault" %% "case-app" % "1.2.0-M3"
def http4sBlazeServer = "org.http4s" %% "http4s-blaze-server" % SharedVersions.http4s
2017-04-02 21:51:11 +02:00
def http4sDsl = "org.http4s" %% "http4s-dsl" % SharedVersions.http4s
2017-05-15 15:32:49 +02:00
def slf4jNop = "org.slf4j" % "slf4j-nop" % "1.7.25"
2017-04-02 21:51:11 +02:00
def okhttpUrlConnection = "com.squareup.okhttp" % "okhttp-urlconnection" % "2.7.5"
def sbtLauncherInterface = "org.scala-sbt" % "launcher-interface" % "1.0.0"
def typesafeConfig = "com.typesafe" % "config" % "1.3.1"
2017-05-15 15:32:49 +02:00
def argonautShapeless = "com.github.alexarchambault" %% "argonaut-shapeless_6.2" % "1.2.0-M5"
2017-04-02 21:51:11 +02:00
2017-06-06 19:51:38 +02:00
def sbtPgp = Def.setting {
val sbtv = CrossVersion.binarySbtVersion(sbtVersion.value)
val sv = scalaBinaryVersion.value
val ver = sv match {
case "2.10" => "1.0.1"
case "2.12" => "1.1.0-M1"
case _ => "foo" // unused
}
sbtPluginExtra("com.jsuereth" % "sbt-pgp" % ver, sbtv, sv)
}
2017-04-02 21:51:11 +02:00
def scalaAsync = Def.setting {
val version =
if (scalaBinaryVersion.value == "2.10") "0.9.5"
else "0.9.6"
"org.scala-lang.modules" %% "scala-async" % version
}
2017-07-11 19:04:00 +02:00
def jarjar = "io.get-coursier.jarjar" % "jarjar-core" % "1.0.1-coursier-1"
2017-04-02 21:51:11 +02:00
def jarjarTransitiveDeps = Seq(
"com.google.code.findbugs" % "jsr305" % "2.0.2",
"org.ow2.asm" % "asm-commons" % "5.0.3",
"org.ow2.asm" % "asm-util" % "5.0.3",
2017-05-15 15:32:49 +02:00
"org.slf4j" % "slf4j-api" % "1.7.25"
2017-04-02 21:51:11 +02:00
)
def scalaNativeNir = "io.get-coursier.scala-native" %% "nir" % SharedVersions.scalaNative
def scalaNativeTools = "io.get-coursier.scala-native" %% "tools" % SharedVersions.scalaNative
def scalaNativeUtil = "io.get-coursier.scala-native" %% "util" % SharedVersions.scalaNative
2017-05-15 15:32:49 +02:00
}