-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
55 lines (52 loc) · 2.21 KB
/
Copy pathbuild.sbt
File metadata and controls
55 lines (52 loc) · 2.21 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
ThisBuild / scalaVersion := "3.7.1"
// Uncomment to use SNAPSHOT releases of Jelly
resolvers +=
"Sonatype OSS Snapshots" at "https://central.sonatype.com/repository/maven-snapshots/"
val jellyV = "3.4.0"
val jenaV = "5.3.0"
val jmhV = "1.37"
val rdf4jV = "5.1.4"
lazy val pekkoV = "1.1.5"
lazy val pekkoGrpcV = "1.1.1"
lazy val root = (project in file("."))
.enablePlugins(JmhPlugin)
.settings(
name := "benchmarks",
libraryDependencies ++= Seq(
// "eu.neverblink.jelly" %% "jelly-grpc" % jellyV,
"eu.neverblink.jelly" %% "jelly-pekko-stream" % jellyV,
"eu.neverblink.jelly" % "jelly-jena" % jellyV,
"eu.neverblink.jelly" % "jelly-rdf4j" % jellyV,
"eu.neverblink.jelly" % "jelly-jena-patch" % jellyV,
"eu.neverblink.jelly" % "jelly-core-patch-protos-google" % jellyV,
"com.google.protobuf" % "protobuf-java" % "4.31.1",
"org.json4s" %% "json4s-jackson" % "4.0.7",
"org.apache.jena" % "jena-core" % jenaV,
"org.apache.jena" % "jena-arq" % jenaV,
"org.apache.jena" % "jena-rdfpatch" % jenaV,
"org.apache.pekko" %% "pekko-actor-typed" % pekkoV,
"org.apache.pekko" %% "pekko-discovery" % pekkoV,
"org.apache.pekko" %% "pekko-grpc-runtime" % pekkoGrpcV,
"org.apache.pekko" %% "pekko-stream-typed" % pekkoV,
"org.apache.pekko" %% "pekko-connectors-kafka" % "1.1.0",
"org.apache.commons" % "commons-compress" % "1.27.1",
"org.eclipse.rdf4j" % "rdf4j" % rdf4jV,
"org.eclipse.rdf4j" % "rdf4j-rio-ntriples" % rdf4jV,
"org.eclipse.rdf4j" % "rdf4j-rio-nquads" % rdf4jV,
"org.eclipse.rdf4j" % "rdf4j-rio-binary" % rdf4jV,
// JMH
"org.openjdk.jmh" % "jmh-core" % jmhV,
"org.openjdk.jmh" % "jmh-generator-annprocess" % jmhV,
),
assembly / assemblyMergeStrategy := {
case PathList("module-info.class") => MergeStrategy.discard
// https://jena.apache.org/documentation/notes/jena-repack.html
case PathList("META-INF", "services", xs@_*) => MergeStrategy.concat
case PathList("META-INF", xs@_*) => MergeStrategy.discard
case PathList("reference.conf") => MergeStrategy.concat
case _ => MergeStrategy.first
},
scalacOptions ++= Seq(
"-deprecation",
)
)