-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
36 lines (27 loc) · 1.48 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
name := "irritant"
version := "0.1"
scalaVersion := "2.12.7"
libraryDependencies ++= Seq(
// CORE
"org.typelevel" %% "cats-core" % "1.4.0"
, "org.typelevel" %% "cats-effect" % "1.0.0"
, "com.github.pureconfig" %% "pureconfig" % "0.10.0"
, "com.github.scopt" %% "scopt" % "3.7.0"
// SYSTEMS
, "com.atlassian.jira" % "jira-rest-java-client-core" % "5.1.0"
, "org.scala-lang.modules" %% "scala-java8-compat" % "0.9.0"
, "io.atlassian.fugue" % "fugue" % "4.7.2"
, "com.flyberrycapital" %% "scala-slack" % "0.3.1"
, "org.eclipse.jgit" % "org.eclipse.jgit" % "5.1.3.201810200350-r"
// TEST
, "org.scalatest" %% "scalatest" % "3.0.5" % "test"
)
resolvers += "atlassian-public" at "https://m2proxy.atlassian.com/repository/public"
// scalastyle
// run during compilation
lazy val compileScalastyle = taskKey[Unit]("compileScalastyle")
compileScalastyle := scalastyle.in(Compile).toTask("").value
(compile in Compile) := ((compile in Compile) dependsOn compileScalastyle).value
// fail compilation on errors
scalastyleFailOnError := true
scalastyleFailOnWarning := true