Commit f6121ed 1 parent 42c0abc commit f6121ed Copy full SHA for f6121ed
File tree 3 files changed +22
-0
lines changed
3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -5,3 +5,10 @@ version := "0.1"
5
5
scalaVersion := " 2.13.3"
6
6
7
7
libraryDependencies ++= Deps .gui
8
+
9
+ enablePlugins(JavaAppPackaging , GraalVMNativeImagePlugin )
10
+
11
+ assemblyMergeStrategy in assembly := {
12
+ case PathList (" META-INF" , _ @ _* ) => MergeStrategy .discard
13
+ case _ => MergeStrategy .first
14
+ }
Original file line number Diff line number Diff line change
1
+ // bundle up Scala applications into packaging formats such as Docker,
2
+ // GraalVM native-image, executable JARs etc
3
+ addSbtPlugin(" com.typesafe.sbt" % " sbt-native-packager" % " 1.7.3" )
4
+ addSbtPlugin(" com.eed3si9n" % " sbt-assembly" % " 0.14.6" )
5
+
1
6
addSbtPlugin(" org.scalameta" % " sbt-scalafmt" % " 2.4.0" )
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ MYSELF=` which " $0 " 2> /dev/null`
3
+ [ $? -gt 0 -a -f " $0 " ] && MYSELF=" ./$0 "
4
+ java=java
5
+ if test -n " $JAVA_HOME " ; then
6
+ java=" $JAVA_HOME /bin/java"
7
+ fi
8
+ exec " $java " $java_args -jar $MYSELF " $@ "
9
+ exit 1
10
+
You can’t perform that action at this time.
0 commit comments