-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
40 lines (31 loc) · 872 Bytes
/
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
38
39
40
name := "sokovnyabot"
version := "0.3"
maintainer := "[email protected]"
scalaVersion := "2.13.6"
enablePlugins(JavaAppPackaging)
scalacOptions ++= Seq(
"-Xfatal-warnings", // New lines for each options
"-deprecation",
"-unchecked",
"-language:implicitConversions",
"-language:higherKinds",
"-language:existentials",
"-language:postfixOps",
"-opt:l:method",
"-opt:l:inline",
"-opt-inline-from:<sources>"
)
updateOptions := updateOptions.value.withCachedResolution(true)
resolvers ++= Seq(
Resolver.mavenLocal,
Resolver.jcenterRepo,
Resolver.sonatypeRepo("snapshots"),
Resolver.typesafeRepo("releases")
)
val bot4s = "5.0.0-SNAPSHOT"
libraryDependencies ++= Seq(
"com.bot4s" %% "telegram-core" % bot4s,
"com.bot4s" %% "telegram-akka" % bot4s,
"biz.enef" %% "slogging" % "0.6.2",
"com.github.pureconfig" %% "pureconfig" % "0.15.0"
)