-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
66 lines (47 loc) · 2.11 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
enablePlugins(JavaAppPackaging)
name := "lastobot"
organization := "org.kirhgoff"
scalaVersion := "2.11.8"
//resolvers += "Local Maven Repository" at "http://eif-repository.moex.com/nexus/content/repositories/releases"
resolvers += Resolver.sonatypeRepo("snapshots")
//Define dependencies. These ones are only required for Test and Integration Test scopes.
libraryDependencies ++= Seq(
//Test
"org.scalatest" %% "scalatest" % "2.2.4" % "test",
"org.scalacheck" %% "scalacheck" % "1.12.5" % "test",
// Utils
"org.apache.commons" % "commons-lang3" % "3.4",
//Akka
"com.typesafe.akka" % "akka-actor_2.11" % "2.4.4",
"com.typesafe.akka" % "akka-testkit_2.11" % "2.4.4",
//Db
"org.mongodb" %% "casbah" % "3.1.1",
//Logging
"com.typesafe.scala-logging" % "scala-logging_2.11" % "3.4.0",
"ch.qos.logback" % "logback-classic" % "1.1.7",
// Charts
"org.knowm.xchart" % "xchart" % "3.0.4",
//Mail
"javax.mail" % "mail" % "1.4.7",
"info.mukel" %% "telegrambot4s" % "1.0.3-SNAPSHOT"
//"info.mukel" %% "telegrambot4s" % "1.1.4-SNAPSHOT"
)
parallelExecution in Test := false
// Compiler settings. Use scalac -X for other options and their description.
// See Here for more info http://www.scala-lang.org/files/archive/nightly/docs/manual/html/scalac.html
scalacOptions ++= List("-feature","-deprecation", "-unchecked", "-Xlint")
javaOptions += "-Xmx4G"
mainClass in Compile := Some("org.kirhgoff.lastobot.LastobotApp")
// Release
import ReleaseTransformations._
import sbt.Keys._
releaseProcess := Seq[ReleaseStep](
inquireVersions, // : ReleaseStep
setReleaseVersion, // : ReleaseStep
commitReleaseVersion, // : ReleaseStep, performs the initial git checks
tagRelease, // : ReleaseStep
ReleaseStep(releaseStepTask(packageZipTarball in Universal)),
setNextVersion, // : ReleaseStep
commitNextVersion, // : ReleaseStep
pushChanges // : ReleaseStep, also checks that an upstream branch is properly configured
)