-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
41 lines (33 loc) · 1.59 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
name := "joern-benchmarks-datasets"
ThisBuild / organization := "io.joern"
ThisBuild / scalaVersion := "3.4.1"
libraryDependencies ++= Seq(
"com.github.pathikrit" %% "better-files" % Versions.betterFiles,
"com.github.scopt" %% "scopt" % Versions.scopt,
"org.apache.logging.log4j" % "log4j-slf4j2-impl" % Versions.log4j % Optional,
"com.lihaoyi" %% "requests" % Versions.requests,
"com.lihaoyi" %% "upickle" % Versions.upickle,
"com.github.sh4869" %% "semver-parser-scala" % Versions.semver,
"org.apache.commons" % "commons-compress" % Versions.commonsCompress
)
assembly / assemblyMergeStrategy := {
case "log4j2.xml" => MergeStrategy.first
case "module-info.class" => MergeStrategy.first
case "META-INF/versions/9/module-info.class" => MergeStrategy.first
case PathList("scala", "collection", "internal", "pprint", _) => MergeStrategy.first
case x =>
val oldStrategy = (ThisBuild / assemblyMergeStrategy).value
oldStrategy(x)
}
ThisBuild / Compile / scalacOptions ++= Seq("-feature", "-deprecation", "-language:implicitConversions")
enablePlugins(JavaAppPackaging)
ThisBuild / licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0"))
Global / onChangedBuildSource := ReloadOnSourceChanges
ThisBuild / resolvers ++= Seq(
Resolver.mavenLocal,
"Sonatype OSS" at "https://oss.sonatype.org/content/repositories/public",
"Atlassian" at "https://packages.atlassian.com/mvn/maven-atlassian-external",
"Gradle Releases" at "https://repo.gradle.org/gradle/libs-releases/"
)
Compile / doc / sources := Seq.empty
Compile / packageDoc / publishArtifact := false