Skip to content

Commit cb8c386

Browse files
committed
bump: Update sbt-native-packager
1 parent 4b65292 commit cb8c386

File tree

2 files changed

+29
-30
lines changed

2 files changed

+29
-30
lines changed

build.sbt

Lines changed: 28 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,31 @@
11
val scalaVersionNumber = "2.13.1"
22
val circeVersion = "0.12.3"
3-
val graalVersion = "19.3.1-java11"
3+
val graalVersion = "21.2.0"
44

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-
containerBuildImage := Some(s"oracle/graalvm-ce:$graalVersion"),
23-
graalVMNativeImageOptions ++= Seq(
24-
"-O1",
25-
"-H:+ReportExceptionStackTraces",
26-
"--no-fallback",
27-
"--no-server",
28-
"--initialize-at-build-time",
29-
"--report-unsupported-elements-at-runtime",
30-
"--static"
31-
)
32-
)
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+
)

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.10")
55

66
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1")
77

8-
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.6.0")
8+
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.8.1")

0 commit comments

Comments
 (0)