-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.sbt
126 lines (115 loc) · 4.69 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
name := "Plume"
inThisBuild(
List(
organization := "com.github.plume-oss",
version := "1.0.18",
scalaVersion := "2.13.7",
crossScalaVersions := Seq("2.13.7", "3.1.1"),
resolvers ++= Seq(
Resolver.mavenLocal,
Resolver.mavenCentral,
Resolver.JCenterRepository
)
)
)
val cpgVersion = "1.3.509"
val joernVersion = "1.1.606"
val sootVersion = "4.2.1"
val tinkerGraphVersion = "3.4.8"
val neo4jVersion = "4.4.3"
val tigerGraphVersion = "3.1.0"
val sttpVersion = "3.4.2"
val jacksonVersion = "2.13.2"
val scalajHttpVersion = "2.4.2"
val lz4Version = "1.8.0"
val slf4jVersion = "1.7.36"
val logbackVersion = "1.2.10"
val scalatestVersion = "3.2.11"
val circeVersion = "0.14.1"
lazy val scalatest = "org.scalatest" %% "scalatest" % scalatestVersion
lazy val NeoIntTest = config("neoTest") extend Test
lazy val TigerGraphIntTest = config("tgTest") extend Test
lazy val NeptuneIntTest = config("nepTest") extend Test
trapExit := false
Test / fork := true
Test / parallelExecution := false
libraryDependencies ++= Seq(
"io.shiftleft" %% "codepropertygraph" % cpgVersion,
"io.shiftleft" %% "semanticcpg" % cpgVersion,
"io.joern" %% "dataflowengineoss" % joernVersion,
"io.joern" %% "x2cpg" % joernVersion,
"io.joern" %% "jimple2cpg" % joernVersion,
"io.joern" %% "x2cpg" % joernVersion % Test classifier "tests",
"org.soot-oss" % "soot" % sootVersion,
"org.apache.tinkerpop" % "tinkergraph-gremlin" % tinkerGraphVersion,
"org.apache.tinkerpop" % "gremlin-driver" % tinkerGraphVersion,
"org.neo4j.driver" % "neo4j-java-driver" % neo4jVersion,
"com.tigergraph.client" % "gsql_client" % tigerGraphVersion,
"com.softwaremill.sttp.client3" %% "core" % sttpVersion,
"com.softwaremill.sttp.client3" %% "circe" % sttpVersion,
"com.fasterxml.jackson.core" % "jackson-databind" % jacksonVersion,
"com.fasterxml.jackson.module" %% "jackson-module-scala" % jacksonVersion,
"org.scalaj" % "scalaj-http_2.13" % scalajHttpVersion,
"org.lz4" % "lz4-java" % lz4Version,
"org.slf4j" % "slf4j-api" % slf4jVersion,
"org.slf4j" % "slf4j-simple" % slf4jVersion % Runtime,
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
"ch.qos.logback" % "logback-classic" % logbackVersion % Test,
"org.scalatest" %% "scalatest" % scalatestVersion % Test
) ++ Seq(
"io.circe" %% "circe-core",
"io.circe" %% "circe-generic",
"io.circe" %% "circe-parser",
"io.circe" %% "circe-yaml"
).map(_ % circeVersion)
enablePlugins(
JavaAppPackaging,
GitVersioning,
BuildInfoPlugin,
GhpagesPlugin,
SiteScaladocPlugin
)
scmInfo := Some(
ScmInfo(url("https://github.com/plume-oss/plume"), "[email protected]:plume-oss/plume.git")
)
git.remoteRepo := scmInfo.value.get.connection
homepage := Some(url("https://github.com/plume-oss/plume/"))
licenses := List("Apache-2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0"))
developers := List(
Developer(
"DavidBakerEffendi",
"David Baker Effendi",
url("https://github.com/DavidBakerEffendi")
),
Developer(
"fabsx00",
"Fabian Yamaguchi",
url("https://github.com/fabsx00")
)
)
Global / onChangedBuildSource := ReloadOnSourceChanges
publishMavenStyle := true
lazy val root = (project in file("."))
.configs(NeoIntTest)
.settings(
inConfig(NeoIntTest)(Defaults.testSettings),
libraryDependencies += scalatest % NeoIntTest,
Test / testOptions := Seq(Tests.Filter(s => !s.endsWith("IntTests"))),
NeoIntTest / testOptions := Seq(Tests.Filter(s => s.contains("Neo4j")))
)
.configs(TigerGraphIntTest)
.settings(
inConfig(TigerGraphIntTest)(Defaults.testSettings),
libraryDependencies += scalatest % TigerGraphIntTest,
Test / testOptions := Seq(Tests.Filter(s => !s.endsWith("IntTests"))),
TigerGraphIntTest / testOptions := Seq(Tests.Filter(s => s.contains("TigerGraph")))
)
.configs(NeptuneIntTest)
.settings(
inConfig(NeptuneIntTest)(Defaults.testSettings),
libraryDependencies += scalatest % NeptuneIntTest,
Test / testOptions := Seq(Tests.Filter(s => !s.endsWith("IntTests"))),
NeptuneIntTest / testOptions := Seq(Tests.Filter(s => s.contains("Neptune")))
)