-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
31 lines (26 loc) · 1.3 KB
/
build.sbt
File metadata and controls
31 lines (26 loc) · 1.3 KB
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
name := "hb-api"
version := "5.4.17"
libraryDependencies ++= Seq(
jdbc,
cache,
"io.github.cloudify" %% "spdf" % "1.0.0",
"commons-codec" % "commons-codec" % "1.6",
// Transitive dependency on Play provided library com.typesafe.play, play-json must be excluded.
"ch.bsisa" % "hb-geo-model_2.10" % "1.0" excludeAll ExclusionRule(organization = "com.typesafe.play")
)
// Control which files are packaged with dist task.
// We exclude rsync backup files ending in ~, as well
// as all dev and example configuration files found in conf folder.
mappings in (Compile, packageBin) ~= { _.filterNot { case (_, name) =>
//if (name.endsWith("~") || namdiste.endsWith(".conf.example") || name.endsWith("_dev.conf") || name.endsWith("application.conf")) { println(" EXCLUDE: name = " + name ) }
name.endsWith("~") || name.endsWith(".conf.example") || name.endsWith("_dev.conf") || name.endsWith("application.conf")
}}
// Prevents File too long exception.
// Noticed after last formatter addition to:
// ch.bsisa.hyperbird.model.format.Implicits
// https://issues.scala-lang.org/browse/SI-8199
// https://github.com/scala/pickling/issues/10
// https://github.com/spray/spray/issues/811
// Should be solved with Scala 2.11.0
scalacOptions ++= Seq("-Xmax-classfile-name", "100")
play.Project.playScalaSettings