Skip to content

Commit d73b567

Browse files
committed
clean: Revert to syntax changes in build.sbt
1 parent ac3d823 commit d73b567

File tree

1 file changed

+25
-27
lines changed

1 file changed

+25
-27
lines changed

build.sbt

Lines changed: 25 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,28 @@ val scalaVersionNumber = "2.13.1"
22
val circeVersion = "0.12.3"
33
val graalVersion = "21.2.0"
44

5-
enablePlugins(JavaAppPackaging)
6-
enablePlugins(GraalVMNativeImagePlugin)
7-
8-
name := "codacy-gosec"
9-
organization := "com.codacy"
10-
organizationName := "codacy"
11-
scalaVersion := scalaVersionNumber
12-
test in assembly := {}
13-
14-
libraryDependencies ++= Seq(
15-
"com.codacy" %% "codacy-analysis-cli-model" % "2.2.0",
16-
"io.circe" %% "circe-core" % circeVersion,
17-
"io.circe" %% "circe-parser" % circeVersion,
18-
"com.github.scopt" %% "scopt" % "3.7.1",
19-
"org.scalatest" %% "scalatest" % "3.1.0" % Test
20-
)
21-
22-
graalVMNativeImageGraalVersion := Some(graalVersion)
23-
24-
graalVMNativeImageOptions ++= Seq(
25-
"-O1",
26-
"-H:+ReportExceptionStackTraces",
27-
"--no-fallback",
28-
"--no-server",
29-
"--report-unsupported-elements-at-runtime",
30-
"--static"
31-
)
5+
lazy val root = (project in file("."))
6+
.enablePlugins(JavaAppPackaging)
7+
.enablePlugins(GraalVMNativeImagePlugin)
8+
.settings(
9+
name := "codacy-gosec",
10+
organization := "com.codacy",
11+
organizationName := "codacy",
12+
scalaVersion := scalaVersionNumber,
13+
test in assembly := {},
14+
libraryDependencies ++= Seq(
15+
"com.codacy" %% "codacy-analysis-cli-model" % "2.2.0",
16+
"io.circe" %% "circe-core" % circeVersion,
17+
"io.circe" %% "circe-parser" % circeVersion,
18+
"com.github.scopt" %% "scopt" % "3.7.1",
19+
"org.scalatest" %% "scalatest" % "3.1.0" % Test
20+
),
21+
graalVMNativeImageGraalVersion := Some(graalVersion),
22+
graalVMNativeImageOptions ++= Seq(
23+
"-O1",
24+
"-H:+ReportExceptionStackTraces",
25+
"--no-fallback",
26+
"--report-unsupported-elements-at-runtime",
27+
"--static"
28+
)
29+
)

0 commit comments

Comments
 (0)