-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathDependencies.scala
61 lines (51 loc) · 3.2 KB
/
Dependencies.scala
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
import org.portablescala.sbtplatformdeps.PlatformDepsPlugin.autoImport.*
import sbt.*
import sbt.Keys.libraryDependencies
object Dependencies {
val catsParse = libraryDependencies += "org.typelevel" %%% "cats-parse" % "1.1.0"
val conscript = libraryDependencies += "org.conscrypt" % "conscrypt-openjdk-uber" % "2.5.2"
val decline = libraryDependencies += "com.monovore" %%% "decline" % "2.5.0"
val fansi = libraryDependencies += "com.lihaoyi" %%% "fansi" % "0.5.0"
val jetcd = libraryDependencies += "io.etcd" % "jetcd-core" % "0.8.5"
val monocleCore = libraryDependencies += "dev.optics" %%% "monocle-core" % "3.3.0"
val munit = libraryDependencies += "org.scalameta" %%% "munit" % "1.1.0" % Test
val munitCheck = libraryDependencies += "org.scalameta" %%% "munit-scalacheck" % "1.1.0" % Test
val pprint = libraryDependencies += "com.lihaoyi" %%% "pprint" % "0.9.0"
val scalaSwing = libraryDependencies += "org.scala-lang.modules" %% "scala-swing" % "3.0.0"
val scalaXml = libraryDependencies += "org.scala-lang.modules" %% "scala-xml" % "2.3.0"
val scalajsDom = libraryDependencies += "org.scala-js" %%% "scalajs-dom" % "2.8.0"
val slf4jSimple = libraryDependencies += "org.slf4j" % "slf4j-simple" % "2.0.17" % Test
val slips = libraryDependencies += "de.rmgk.slips" %%% "partypack" % "0.12.0"
val sttpCore = libraryDependencies += "com.softwaremill.sttp.client4" %%% "core" % "4.0.0-RC2"
val tink = libraryDependencies += "com.google.crypto.tink" % "tink" % "1.17.0"
val bouncyCastle = libraryDependencies ++=
List(
// Note, jdk18 means JDK 1.8
"org.bouncycastle" % "bcprov-jdk18on" % "1.80",
"org.bouncycastle" % "bcpkix-jdk18on" % "1.80",
"io.github.hakky54" % "sslcontext-kickstart" % "9.1.0",
"io.github.hakky54" % "sslcontext-kickstart-for-pem" % "9.1.0",
)
def borer = libraryDependencies ++= Seq(
"io.bullet" %%% "borer-core" % "1.16.0",
"io.bullet" %%% "borer-derivation" % "1.16.0"
)
def jetty = {
val jettyVersion = "12.0.18"
Seq(
"org.eclipse.jetty.websocket" % "jetty-websocket-jetty-server" % jettyVersion,
"org.eclipse.jetty.websocket" % "jetty-websocket-jetty-client" % jettyVersion,
"org.eclipse.jetty.websocket" % "jetty-websocket-jetty-api" % jettyVersion,
)
}
def jsoniterScala =
libraryDependencies ++= Seq(
"com.github.plokhotnyuk.jsoniter-scala" %%% "jsoniter-scala-core" % "2.33.3",
"com.github.plokhotnyuk.jsoniter-scala" %%% "jsoniter-scala-macros" % "2.33.3" % Provided
)
def scalafx: ModuleID = "org.scalafx" %% "scalafx" % "23.0.1-R34"
def scalatags(conf: Configuration = Compile) = libraryDependencies += "com.lihaoyi" %%% "scalatags" % "0.13.1" % conf
val scalatest = libraryDependencies ++= Seq("flatspec", "shouldmatchers").map(m =>
"org.scalatest" %%% s"scalatest-$m" % "3.2.19" % Test
)
}