1
1
val scalaVersionNumber = " 2.13.1"
2
2
val circeVersion = " 0.12.3"
3
- val graalVersion = " 19.3.1-java11 "
3
+ val graalVersion = " 21.2.0 "
4
4
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
+ )
0 commit comments