-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
55 lines (46 loc) · 1.72 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
name := "rdfrules"
val basicSettings = Seq(
organization := "com.github.propi.rdfrules",
version := "1.8.0",
scalaVersion := "2.13.8",
scalacOptions := Seq("-unchecked", "-deprecation", "-feature", "-encoding", "utf8")
)
lazy val root = project
.in(file("."))
.settings(basicSettings: _*)
.aggregate(core, http, gui, experiments, experimentsAmie2, experimentsAmie3, experimentsKgc)
lazy val core = project
.in(file("core"))
lazy val http = project
.in(file("http"))
.settings(packMain := Map("main" -> "com.github.propi.rdfrules.http.Main"))
.enablePlugins(PackPlugin)
.dependsOn(core)
lazy val gui = project
.in(file("gui"))
.enablePlugins(ScalaJSPlugin)
lazy val experiments = project
.in(file("experiments"))
.settings(basicSettings: _*)
.settings(packMain := Map("main" -> "com.github.propi.rdfrules.experiments.RdfRulesExperiments"))
.settings(libraryDependencies += "org.slf4j" % "slf4j-simple" % "1.7.36")
.enablePlugins(PackPlugin)
.dependsOn(core)
lazy val experimentsAmie2 = project
.in(file("experiments_amie2"))
.settings(basicSettings: _*)
.settings(packMain := Map("main" -> "com.github.propi.rdfrules.experiments.OriginalAmieComparison"))
.enablePlugins(PackPlugin)
.dependsOn(experiments)
lazy val experimentsAmie3 = project
.in(file("experiments_amie3"))
.settings(basicSettings: _*)
.settings(packMain := Map("main" -> "com.github.propi.rdfrules.experiments.Amie3Comparison"))
.enablePlugins(PackPlugin)
.dependsOn(experiments)
lazy val experimentsKgc = project
.in(file("experiments_kgc"))
.settings(basicSettings: _*)
.settings(packMain := Map("main" -> "com.github.propi.rdfrules.experiments.RdfRulesKgc"))
.enablePlugins(PackPlugin)
.dependsOn(experiments)