-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
37 lines (32 loc) · 1.39 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
29
30
31
32
33
34
35
36
37
val scalatest = "org.scalatest" %% "scalatest" % "3.1.1" % "test"
val logging_library = "com.typesafe.scala-logging" %% "scala-logging" % "3.9.4"
val slf4j = "org.slf4j" % "slf4j-api" % "1.7.36"
val logback_core = "ch.qos.logback" % "logback-core" % "1.2.10"
val logback_classic = "ch.qos.logback" % "logback-classic" % "1.2.10"
val junit = "junit" % "junit" % "4.12" % "test"
val scopt = "com.github.scopt" %% "scopt" % "3.7.1"
val gstlib = "com.github.guillaumedd" %% "gstlib" % "0.1.3"
lazy val commonSettings = Seq(
organization := "com.github.guillaumedd",
version := "1.1",
scalaVersion := "2.13.8"
)
lazy val root = (project in file(".")).
settings(commonSettings: _*).
settings(
name := "dialign",
libraryDependencies += scalatest,
libraryDependencies += logging_library,
libraryDependencies += slf4j,
libraryDependencies += logback_core,
libraryDependencies += logback_classic,
libraryDependencies += junit,
libraryDependencies += scopt,
libraryDependencies += gstlib
)
scalacOptions ++= Seq("-deprecation", "-Ywarn-unused", "-Ywarn-dead-code",
"-opt:l:inline", "-opt-inline-from:**", "-Ywarn-unused:imports")
assemblyJarName in assembly := "dialign.jar"
mainClass in assembly := Some("dialign.app.DialignOfflineApp")
//assemblyJarName in assembly := "dialign-online.jar"
//mainClass in assembly := Some("dialign.app.DialignOnlineApp")