-
Notifications
You must be signed in to change notification settings - Fork 17
/
build.sbt
executable file
·28 lines (26 loc) · 1.2 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
ThisBuild / scalaVersion := "2.13.14"
lazy val `doc-generator` = project
.settings(
libraryDependencies ++= Seq("org.scala-lang.modules" %% "scala-xml" % "2.2.0",
"org.scala-lang.modules" %% "scala-parallel-collections" % "1.0.4",
"com.codacy" %% "codacy-engine-scala-seed" % "6.1.2",
"com.lihaoyi" %% "ujson" % "3.1.2",
"com.github.pathikrit" %% "better-files" % "3.9.2"
)
)
lazy val root = project
.in(file("."))
.settings(name := "codacy-codesniffer",
libraryDependencies ++= Seq("org.scala-lang.modules" %% "scala-xml" % "2.2.0",
"com.codacy" %% "codacy-engine-scala-seed" % "6.1.2"
),
mainClass in Compile := Some("codacy.Engine"),
nativeImageOptions ++= List("-O1",
"-H:+ReportExceptionStackTraces",
"--no-fallback",
"--no-server",
"--static"
)
)
.enablePlugins(NativeImagePlugin)
.enablePlugins(JavaAppPackaging)