-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
68 lines (63 loc) · 4.74 KB
/
build.sbt
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
62
63
64
65
66
67
68
import sbt.Configurations.config
import sbt.Defaults.testSettings
import sbt.Keys.libraryDependencies
lazy val settings = Seq(
organization := "com.sageserpent",
name := "plutonium",
scalaVersion := "2.12.11",
scalacOptions ++= Seq("-Xexperimental",
"-target:jvm-1.8",
"-Ypartial-unification"),
libraryDependencies += "org.typelevel" %% "cats-core" % "1.6.0",
libraryDependencies += "org.typelevel" %% "alleycats-core" % "1.6.0",
libraryDependencies += "org.typelevel" %% "cats-effect" % "1.2.0",
libraryDependencies += "net.bytebuddy" % "byte-buddy" % "1.10.10",
libraryDependencies += "com.sageserpent" %% "americium" % "0.1.5",
libraryDependencies += "com.sageserpent" %% "curium" % "0.1.1",
libraryDependencies += "org.scala-lang" % "scala-reflect" % "2.12.8",
libraryDependencies += "io.lettuce" % "lettuce-core" % "5.1.3.RELEASE",
libraryDependencies += "io.netty" % "netty-transport-native-epoll" % "4.1.50.Final" classifier "linux-x86_64",
libraryDependencies += "io.netty" % "netty-transport-native-kqueue" % "4.1.50.Final" classifier "osx-x86_64",
libraryDependencies += "org.scala-lang.modules" %% "scala-java8-compat" % "0.9.0",
libraryDependencies += "com.twitter" %% "chill" % "0.9.3",
libraryDependencies += "io.verizon.quiver" %% "core" % "7.0.19",
libraryDependencies += "de.ummels" %% "scala-prioritymap" % "1.0.0",
libraryDependencies += "de.sciss" %% "fingertree" % "1.5.4",
libraryDependencies += "com.google.guava" % "guava" % "28.0-jre",
libraryDependencies += "com.github.ben-manes.caffeine" % "caffeine" % "2.7.0",
libraryDependencies += "org.tpolecat" %% "doobie-core" % "0.7.0-M3",
libraryDependencies += "org.tpolecat" %% "doobie-h2" % "0.7.0-M3",
libraryDependencies += "org.scalikejdbc" %% "scalikejdbc" % "2.5.2",
libraryDependencies += "com.h2database" % "h2" % "1.4.199",
libraryDependencies += "com.zaxxer" % "HikariCP" % "3.3.1",
libraryDependencies += "org.slf4j" % "slf4j-api" % "1.7.21" % "provided",
libraryDependencies += "org.slf4j" % "slf4j-nop" % "1.7.21" % "test",
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.5" % "test",
libraryDependencies += "org.scalacheck" %% "scalacheck" % "1.13.5" % "test",
libraryDependencies += "org.scalamock" %% "scalamock" % "4.1.0" % "test",
libraryDependencies += "it.ozimov" % "embedded-redis" % "0.7.2" % "test",
libraryDependencies += "junit" % "junit" % "4.12" % "test",
libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % "test",
libraryDependencies += "org.typelevel" %% "cats-laws" % "1.6.0" % "test",
libraryDependencies += "org.typelevel" %% "cats-testkit" % "1.6.0" % "test",
libraryDependencies += "com.github.alexarchambault" %% "scalacheck-shapeless_1.14" % "1.2.0-1" % "test",
libraryDependencies += "com.storm-enroute" %% "scalameter" % "0.8.2" % "benchmark",
testFrameworks in Benchmark += new TestFramework(
"org.scalameter.ScalaMeterFramework"),
publishMavenStyle := true,
bintrayReleaseOnPublish in ThisBuild := false,
licenses += ("MIT", url("http://opensource.org/licenses/MIT")),
bintrayVcsUrl := Some("[email protected]:sageserpent-open/plutonium.git"),
parallelExecution in Test := false,
Compile / doc / sources := Seq.empty,
Compile / packageDoc / publishArtifact := false,
fork in run := true,
javaOptions in run += "-Xmx500M"
)
lazy val Benchmark = config("benchmark") extend Test
lazy val plutonium = (project in file("."))
.configs(Benchmark)
.settings(settings ++ inConfig(Benchmark)(testSettings): _*)
resolvers += Resolver.jcenterRepo
resolvers += "Sonatype OSS Snapshots" at
"https://oss.sonatype.org/content/repositories/releases"