generated from pervasive-cats/toys-store-bc-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
47 lines (41 loc) · 1.3 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
import Dependencies._
Global / onChangedBuildSource := ReloadOnSourceChanges
Global / excludeLintKeys := Set(idePackagePrefix)
ThisBuild / scalaVersion := "3.2.2"
ThisBuild / scalafixDependencies ++= Seq(
"com.github.liancheng" %% "organize-imports" % "0.6.0",
"io.github.ghostbuster91.scalafix-unified" %% "unified" % "0.0.8",
"net.pixiv" %% "scalafix-pixiv-rule" % "4.1.0"
)
ThisBuild / idePackagePrefix := Some("io.github.pervasivecats")
lazy val root = project
.in(file("."))
.enablePlugins(AutomateHeaderPlugin)
.settings(
name := "toys-store-shopping",
scalacOptions ++= Seq(
"-deprecation",
"-Xfatal-warnings"
),
semanticdbEnabled := true,
semanticdbVersion := scalafixSemanticdb.revision,
libraryDependencies ++= Seq(
scalactic,
scalatest
),
wartremoverErrors ++= Warts.allBut(Wart.ImplicitParameter),
version := "0.0.0",
coverageEnabled := true,
coverageMinimumStmtTotal := 80,
coverageMinimumBranchTotal := 80,
headerLicense := Some(
HeaderLicense.Custom(
"""|Copyright © 2022-2023 by Pervasive Cats S.r.l.s.
|
|All Rights Reserved.
|""".stripMargin
)
),
assembly / assemblyJarName := "main.jar",
assembly / mainClass := Some("io.github.pervasivecats.main"),
)