-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathbuild.sbt
More file actions
54 lines (52 loc) · 1.53 KB
/
build.sbt
File metadata and controls
54 lines (52 loc) · 1.53 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
import Dependencies._
lazy val commonSettings = Seq(
organization := "net.kinetc",
scalaVersion := "2.13.5",
crossScalaVersions := Seq("2.11.12", "2.12.10", "2.13.5"),
version := "1.3.1",
description := "NamuMark AST Parser / HTML Transcompiler for MDict",
name := "biryo",
assembly / test := {}
)
lazy val root = (project in file("."))
.settings(commonSettings: _*)
.settings(
inThisBuild(
List(
assembly / mainClass := Some("net.kinetc.biryo.MainApp"),
assembly / assemblyJarName := "biryo.jar",
javacOptions ++= Seq(
"-encoding",
"UTF-8",
"-Dfile.encoding",
"UTF-8",
"-Xlint:unchecked",
"-Xlint:deprecation"
),
scalacOptions ++= List(
"-encoding",
"UTF-8",
"-feature",
"-unchecked",
"-deprecation",
"-Xlint",
"-language:_",
"-Xlog-reflective-calls"
)
)
),
resolvers ++= Seq(
Resolver.sonatypeRepo("releases"),
"Typesafe Repository" at "https://repo.typesafe.com/typesafe/releases/"
),
libraryDependencies ++= Seq(
scalaTest % Test,
"org.typelevel" %% "jawn-parser" % "1.0.0",
"org.typelevel" %% "jawn-ast" % "1.0.0",
"com.typesafe.akka" %% "akka-actor-typed" % "2.6.14",
"org.parboiled" %% "parboiled" % "2.3.0",
"ch.qos.logback" % "logback-classic" % "1.2.3",
"org.specs2" %% "specs2-core" % "4.11.0" % "test"
),
test / scalacOptions ++= Seq("-Yrangepos")
)