forked from lopex/multibot
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.sbt
48 lines (39 loc) · 1.72 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
name := "multibot"
version := "1.0"
fork := true
connectInput := true
mainClass in Compile := Some("org.multibot.Multibottest")
updateOptions := updateOptions.value.withCachedResolution(true).withLatestSnapshots(false)
publishArtifact in(Compile, packageDoc) := false
enablePlugins(JavaAppPackaging)
scalaVersion := "2.13.4"
libraryDependencies ++= {
val scalazVersion = "7.3.2"
val shapelessVersion = "2.3.3"
val monocleVersion = "1.6.0-RC1"
Seq(
"org.scalaz" %% "scalaz-iteratee" % scalazVersion,
"org.scalaz" %% "scalaz-effect" % scalazVersion,
"com.chuusai" %% "shapeless" % shapelessVersion,
"com.github.julien-truffaut" %% "monocle-generic" % monocleVersion,
"com.github.julien-truffaut" %% "monocle-law" % monocleVersion,
"com.github.julien-truffaut" %% "monocle-macro" % monocleVersion,
)
}
libraryDependencies ++= Seq(
"org.pircbotx" % "pircbotx" % "2.1",
"org.slf4j" % "slf4j-simple" % "1.7.10",
"com.google.guava" % "guava" % "18.0",
"org.scala-lang" % "scala-compiler" % scalaVersion.value,
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
"org.json4s" %% "json4s-native" % "3.6.7",
"org.scalactic" %% "scalactic" % "3.0.8",
"org.scalatest" %% "scalatest" % "3.0.8" % "test",
)
scalacOptions ++= Seq("-feature:false", "-language:_", "-deprecation")
autoCompilerPlugins := true
addCompilerPlugin("org.typelevel" %% "kind-projector" % "0.11.1" cross CrossVersion.full)
libraryDependencies += "org.typelevel" %% "kind-projector" % "0.11.1" cross CrossVersion.full
enablePlugins(BuildInfoPlugin)
buildInfoKeys := Seq[BuildInfoKey](name, version, scalaVersion, sbtVersion, scalacOptions in(Compile, compile), libraryDependencies in(Compile, compile))
buildInfoPackage := "org.multibot"