-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
59 lines (57 loc) · 1.49 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
import com.ferhtaydn.akkahttpsoapclient.Dependencies._
lazy val exampleWsdl =
project
.in(file("example-wsdl"))
.enablePlugins(ScalaxbPlugin)
.settings(
name := "example-wsdl"
)
.settings(
libraryDependencies ++= Seq(
Scalaxb.dispatch,
Scalaxb.scalaParserCombinators,
Scalaxb.scalaXML
),
scalaxbPackageName in (Compile, scalaxb) :=
"com.examples",
scalaxbDispatchVersion in (Compile, scalaxb) := Scalaxb.dispatchV,
// to eliminate errors from generated sources
scalacOptions --= Seq(
"-Ywarn-unused:implicits",
"-Ywarn-unused:imports",
"-Ywarn-unused:locals",
"-Ywarn-unused:params",
"-Ywarn-unused:patvars",
"-Ywarn-unused:privates"
)
)
lazy val akkaHttpSoapClient =
project
.in(file("akka-http-soap-client"))
.enablePlugins(ScalaxbPlugin)
.settings(name := "akka-http-soap-client")
.settings(
dependencyOverrides ++= Set(
Akka.actor,
Akka.stream,
Akka.http,
Akka.streamTestkit,
Akka.slf4j,
logbackClassic,
slf4j,
Akka.Http.xml,
Scalaxb.scalaParserCombinators,
Scalaxb.scalaXML
),
libraryDependencies ++= Seq(
Scalaxb.scalaxb,
Akka.http,
Akka.slf4j,
logbackClassic,
Akka.Http.xml,
scalatest % Test,
Akka.testkit % Test,
Akka.Http.testkit % Test
)
)
.dependsOn(exampleWsdl)