forked from ohze/scala-soap
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
44 lines (39 loc) · 1.36 KB
/
build.sbt
File metadata and controls
44 lines (39 loc) · 1.36 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
32
33
34
35
36
37
38
39
40
41
42
43
44
lazy val commonSettings = Seq(
organization := "com.sandinh",
version := "1.7.0",
scalaVersion := "2.12.3",
crossScalaVersions := Seq("2.12.3", "2.11.11"),
scalacOptions ++= Seq("-encoding", "UTF-8", "-deprecation", "-feature", "-target:jvm-1.8"),
scalacOptions ++= (CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, 11)) => Seq("-Ybackend:GenBCode")
case _ => Nil
})
)
val slf4jBind = "org.slf4j" % "slf4j-simple" % "1.7.25" % Test
lazy val `scala-soap` = project
.settings(commonSettings: _*)
.settings(
libraryDependencies ++= Seq(
"org.scala-lang.modules" %% "scala-xml" % "1.0.6",
"org.slf4j" % "slf4j-api" % "1.7.25",
"joda-time" % "joda-time" % "2.9.9",
"org.joda" % "joda-convert" % "1.8.3",
"org.specs2" %% "specs2-core" % "3.9.5" % Test,
slf4jBind
)
)
def play(module: String) = "com.typesafe.play" %% s"play-$module" % "2.6.3"
lazy val `play-soap` = project
.dependsOn(`scala-soap`)
.settings(commonSettings: _*)
.settings(
libraryDependencies ++= Seq(
play("ahc-ws"),
play("specs2") % Test,
slf4jBind
)
)
lazy val `scala-soap-root` = (project in file("."))
.aggregate(`scala-soap`, `play-soap`)
.settings(commonSettings: _*)
.settings(publishArtifact := false)