-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
38 lines (28 loc) · 1.03 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
name := "dfdl-envelope-payload"
organization := "io.github.dfdlschemas"
version := "1.1.0"
//
// Final assembly DFDL schemas should be setup to create a lib_managed baseDirectory
// This makes it easy to provide tools access to the required dependency jar files.
//
retrieveManaged := true
useCoursier := false // because of bug, retrieveManaged won't work without this
libraryDependencies ++= Seq(
"io.github.dfdlschemas" % "dfdl-tcpmessage" % "1.1.0",
"com.owlcyberdefense" % "dfdl-mil-std-2045" % "1.3.2",
"com.tresys" % "dfdl-pcap" % "1.4.0" // if updated past 1.4.0, revisit the warning suppression in config.xml file.
)
enablePlugins(DaffodilPlugin)
daffodilPackageBinVersions := Seq(daffodilVersion.value)
daffodilPackageBinInfos := {
val configFile =
(Compile / baseDirectory).value /"config.xml"
Seq(
DaffodilBinInfo(
schema = "/io/github/dfdlschemas/envelopepayload/xsd/envelopePayload.dfdl.xsd",
root = Some("message"),
config = Some(configFile)
)
)
}
daffodilTdmlUsesPackageBin := true