-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.sbt
31 lines (22 loc) · 924 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
import Dependencies._
name := "tasko_bot"
scalaVersion := "3.3.3"
scalacOptions ++= Seq(
"-language:higherKinds",
"-Wunused:imports",
"-Wunused:locals",
"-Wunused:privates",
"-deprecation"
)
resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/"
libraryDependencies ++= distributionDependencies ++ testDependencies.map(_ % Test)
enablePlugins(JavaAppPackaging, DockerPlugin, AshScriptPlugin)
ThisBuild / dynverSeparator := "-"
dockerBaseImage := "eclipse-temurin:17.0.6_10-jre-jammy"
dockerExposedPorts ++= Seq(8080)
dockerRepository := Some("ghcr.io")
dockerUsername := Some("johnspade")
dockerLabels := Map("org.opencontainers.image.source" -> "https://github.com/johnspade/tasko_bot")
ThisBuild / semanticdbEnabled := true
ThisBuild / semanticdbVersion := scalafixSemanticdb.revision
Global / onChangedBuildSource := ReloadOnSourceChanges