-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
51 lines (43 loc) · 1.5 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Global / onChangedBuildSource := ReloadOnSourceChanges
ThisBuild / scalaVersion := "2.13.15"
ThisBuild / javacOptions ++= Seq(
// Before you upgrade, check if the version is available for the Raspberry Pi Zero.
"-source",
"17",
"-target",
"17",
"-Xlint"
)
ThisBuild / scalacOptions ++= ScalacOptions.scalac213Options
ThisBuild / libraryDependencies ++= {
val sttpClient = "3.10.2"
val tinylog = "2.3.2"
Seq(
"com.diozero" % "diozero-core" % "0.14",
"com.github.pureconfig" %% "pureconfig" % "0.17.8",
"com.softwaremill.sttp.client3" %% "cats" % sttpClient,
"com.softwaremill.sttp.client3" %% "core" % sttpClient,
"com.softwaremill.sttp.client3" %% "play-json" % sttpClient,
"org.typelevel" %% "cats-effect" % "3.5.7",
// Logging
"org.tinylog" % "tinylog-api" % tinylog,
"org.tinylog" % "tinylog-impl" % tinylog,
"org.tinylog" % "slf4j-tinylog" % tinylog,
"com.typesafe.scala-logging" %% "scala-logging" % "3.9.5",
// Testing
"org.scalatest" %% "scalatest" % "3.2.19" % "test"
)
}
// Do not generate documentation
Compile / doc / sources := Seq.empty
// Packaging
enablePlugins(
JavaServerAppPackaging,
SystemdPlugin,
DebianPlugin
)
Linux / maintainer := "scheleaap"
Linux / packageSummary := "RFID Jukebox"
Linux / packageDescription := "An RFID-based jukebox client for Mopidy with Spotify"
// Before you upgrade, check if the version is available for the Raspberry Pi Zero.
Debian / debianPackageDependencies := Seq("openjdk-17-jre-headless")