-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
68 lines (62 loc) · 2.64 KB
/
build.sbt
File metadata and controls
68 lines (62 loc) · 2.64 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / scalaVersion := "3.7.1"
resolvers +=
"Sonatype OSS Snapshots" at "https://s01.oss.sonatype.org/content/repositories/snapshots"
lazy val circeV = "0.14.14"
lazy val jellyV = "3.4.0"
lazy val jenaV = "5.3.0"
lazy val pekkoV = "1.1.5"
lazy val pekkoHttpV = "1.2.0"
lazy val pekkoConnV = "1.1.0"
lazy val rdf4jV = "5.1.4"
lazy val icu4jV = "77.1"
lazy val root = (project in file("."))
.settings(
name := "dataset-ci-worker",
idePackagePrefix := Some("io.github.riverbench.ci_worker"),
// Scala 3 or not Scala at all
libraryDependencies ++= Seq(
"com.google.guava" % "guava" % "33.4.8-jre",
"com.ibm.icu" % "icu4j" % icu4jV,
"eu.neverblink.jelly" %% "jelly-pekko-stream" % jellyV,
"eu.neverblink.jelly" % "jelly-jena" % jellyV,
"io.circe" %% "circe-core" % circeV,
"io.circe" %% "circe-generic" % circeV,
"io.circe" %% "circe-parser" % circeV,
"org.apache.commons" % "commons-compress" % "1.27.1",
"org.apache.jena" % "jena-core" % jenaV,
"org.apache.jena" % "jena-arq" % jenaV,
"org.apache.jena" % "jena-shacl" % jenaV,
"org.apache.jena" % "jena-rdfconnection" % jenaV,
"org.apache.pekko" %% "pekko-connectors-file" % pekkoConnV,
"org.apache.pekko" %% "pekko-actor-typed" % pekkoV,
"org.apache.pekko" %% "pekko-stream-typed" % pekkoV,
"org.apache.pekko" %% "pekko-http" % pekkoHttpV,
"org.apache.pekko" %% "pekko-http-core" % pekkoHttpV,
"org.eclipse.rdf4j" % "rdf4j-model" % rdf4jV,
"org.eclipse.rdf4j" % "rdf4j-rio-turtle" % rdf4jV,
"org.eclipse.rdf4j" % "rdf4j-rio-trig" % rdf4jV,
// datasketches 8 requires Java 21 it seems, so we use 7 for now
"org.apache.datasketches" % "datasketches-java" % "7.0.1",
),
// Discard module-info.class files
// Just Java Things (tm), I guess
assembly / assemblyMergeStrategy := {
case PathList("module-info.class") => MergeStrategy.discard
case PathList("META-INF", xs @ _*) => (xs map {_.toLowerCase}) match {
// Merge services – otherwise RDF4J's parsers won't get registered
case "services" :: xs => MergeStrategy.filterDistinctLines
case _ => MergeStrategy.discard
}
case PathList("reference.conf") => MergeStrategy.concat
case PathList("redirect_template.html") => MergeStrategy.concat
case PathList("sparql", xs @ _*) => MergeStrategy.concat
case _ => MergeStrategy.first
},
assembly / assemblyOutputPath := file("target/assembly/ci-worker-assembly.jar"),
// emit deprecated warnings
scalacOptions ++= Seq(
"-deprecation",
"-Werror",
),
)