-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
36 lines (34 loc) · 1.21 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
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / organization := "dev.svejcar"
ThisBuild / scalaVersion := "2.13.3"
ThisBuild / licenses += ("BSD-3-Clause", url("https://opensource.org/licenses/BSD-3-Clause"))
ThisBuild / homepage := Some(url("https://github.com/vaclavsvejcar/sjq"))
lazy val root = (project in file("."))
.enablePlugins(BuildInfoPlugin)
.settings(
name := "sjq",
libraryDependencies ++= Seq(
Dependencies.ammoniteRepl,
Dependencies.circeCore,
Dependencies.circeGeneric,
Dependencies.circeParser,
Dependencies.optparse,
Dependencies.scalaCompiler,
Dependencies.scalaTest,
Dependencies.simulacrum
),
assembly / mainClass := Some("dev.svejcar.sjq.Launcher"),
assembly / test := {},
assembly / assemblyMergeStrategy := {
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
case x => MergeStrategy.first
},
Test / parallelExecution := false,
buildInfoKeys := Seq[BuildInfoKey](name, version, scalaVersion, sbtVersion, homepage),
buildInfoPackage := "dev.svejcar.sjq"
)
ThisBuild / scalacOptions ++= Seq(
"-feature",
"-language:implicitConversions",
"-Ymacro-annotations"
)