-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
80 lines (69 loc) · 2.37 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / scalaVersion := "3.3.1"
val fs2Version = "3.9.4"
val commonSettings = Seq(
Compile / run / fork := true,
)
lazy val root = (project in file("."))
.enablePlugins(JavaAppPackaging)
.settings(commonSettings)
.settings(
name := "Main",
mainClass := Some("com.edufuga.scala.streaming.MainApp"),
maintainer := " efugarolas@brox.de"
)
.aggregate(entities, entity_operations_implementation, object_graph_mapping)
.dependsOn(entities, entity_operations_implementation, object_graph_mapping)
lazy val entity_operations_implementation = (project in file("entity_operations_implementation"))
.settings(commonSettings)
.settings(
name := "Entity Operations Implementation",
libraryDependencies ++= Seq(
"org.scala-lang.modules" %% "scala-xml" % "2.1.0",
"co.fs2" %% "fs2-core" % fs2Version,
"co.fs2" %% "fs2-io" % fs2Version
)
)
.aggregate(entities, operations, entity_parsers, entity_operations, product_data, object_graph_mapping)
.dependsOn(entities, operations, entity_parsers, entity_operations, product_data, object_graph_mapping)
lazy val entities = (project in file("entities"))
.settings(commonSettings)
.settings(
name := "Entities"
)
lazy val operations = (project in file("operations"))
.settings(commonSettings)
.settings(
name := "Operations"
)
lazy val entity_operations = (project in file("entity_operations"))
.settings(commonSettings)
.settings(
name := "Entity Operations"
)
.aggregate(entities, operations)
.dependsOn(entities, operations)
lazy val entity_parsers = (project in file("entity_parsers"))
.settings(commonSettings)
.settings(
name := "Entity Parsers",
libraryDependencies ++= Seq(
"org.scala-lang.modules" %% "scala-xml" % "2.1.0"
)
)
.aggregate(entities)
.dependsOn(entities)
// Graph-based semantic technology (Java code generated with OLGA, the Ontology Library GenerAtor)
lazy val product_data = (project in file("productdata-RDF4J-java"))
.settings(commonSettings)
.settings(
name := "productdata-RDF4J",
libraryDependencies += "org.eclipse.rdf4j" % "rdf4j-runtime" % "2.3.2"
)
lazy val object_graph_mapping = (project in file("object_graph_mapping"))
.settings(commonSettings)
.settings(
name := "OGM" // OMG!
)
.aggregate(entities, product_data)
.dependsOn(entities, product_data)