This repository has been archived by the owner on Oct 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
52 lines (43 loc) · 1.93 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
val akkaMacroLogging = project
.in(file("."))
.enablePlugins(AutomateHeaderPlugin, GitVersioning)
organization := "de.heikoseeberger"
name := "akka-macro-logging"
licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0"))
homepage := Some(url("https://github.com/hseeberger/akka-macro-logging"))
pomIncludeRepository := (_ => false)
pomExtra := <scm>
<url>https://github.com/hseeberger/akka-macro-logging</url>
<connection>scm:git:git@github.com:hseeberger/akka-macro-logging.git</connection>
</scm>
<developers>
<developer>
<id>hseeberger</id>
<name>Heiko Seeberger</name>
<url>http://heikoseeberger.de</url>
</developer>
</developers>
scalaVersion := "2.11.7"
scalacOptions ++= List(
"-unchecked",
"-deprecation",
"-language:_",
"-target:jvm-1.8",
"-encoding", "UTF-8"
)
unmanagedSourceDirectories.in(Compile) := List(scalaSource.in(Compile).value)
unmanagedSourceDirectories.in(Test) := List(scalaSource.in(Test).value)
libraryDependencies ++= List(
"com.typesafe.akka" %% "akka-actor" % "2.4.0",
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
"org.scalatest" %% "scalatest" % "2.2.5" % "test"
)
initialCommands := """|import de.heikoseeberger.akkamacrologging._""".stripMargin
git.baseVersion := "0.1.0"
import scalariform.formatter.preferences._
preferences := preferences.value
.setPreference(AlignSingleLineCaseStatements, true)
.setPreference(AlignSingleLineCaseStatements.MaxArrowIndent, 100)
.setPreference(DoubleIndentClassDeclaration, true)
import de.heikoseeberger.sbtheader.license.Apache2_0
HeaderPlugin.autoImport.headers := Map("scala" -> Apache2_0("2015", "Heiko Seeberger"))