-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
35 lines (30 loc) · 1.22 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
def env(name: String): String = sys.env.getOrElse(name, "unknown")
val buildNumber: String = env("BUILD_NUMBER")
name := "expose-to-the-light"
organization := "hu.szigyi"
version := s"0.1.$buildNumber"
val scalaMajorVersion = "2.13"
scalaVersion := scalaMajorVersion + ".5"
resolvers += "jitpack" at "https://jitpack.io"
resolvers += ("baka.sk" at "http://www.baka.sk/maven2").withAllowInsecureProtocol(true)
mainClass in assembly := Some("hu.szigyi.ettl.app.CliEttlApp")
assemblyJarName in assembly := "expose-to-the-light_" + scalaMajorVersion + "-" + version.value + ".jar"
javacOptions ++= Seq(
"-source", "11",
"-target", "11"
)
scalacOptions ++= Seq(
"-target:11",
"-Xfatal-warnings",
"-deprecation",
"-unchecked"
)
libraryDependencies ++= Seq(
"ch.qos.logback" % "logback-classic" % "1.2.3",
"com.typesafe.scala-logging" %% "scala-logging" % "3.9.2",
"com.github.pureconfig" %% "pureconfig" % "0.14.1",
"org.rogach" %% "scallop" % "4.0.2",
"net.java.dev.jna" % "jna" % "4.2.2",
"org.typelevel" %% "cats-effect" % "2.3.3",
"org.scalatest" %% "scalatest" % "3.2.5" % Test
)