-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
41 lines (34 loc) · 1.12 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
import deps._
Global / onChangedBuildSource := ReloadOnSourceChanges
Global / lintUnusedKeysOnLoad := false
lazy val Scala3 = "3.5.2"
lazy val root = project
.in(file("."))
.enablePlugins(NoPublishPlugin)
.aggregate(unum)
lazy val unum = project
.in(file("unum"))
.enablePlugins(AutomateHeaderPlugin)
.settings(
name := "unum",
libraryDependencies ++=
compileM(cats) ++ testM(munit, catsLaws, scalaCheck, munitDiscipline)
)
inThisBuild(
List(
scalaVersion := Scala3,
crossScalaVersions := Seq(Scala3),
tlJdkRelease := Some(8),
tlBaseVersion := "1.2",
tlSonatypeUseLegacyHost := false,
mergifyStewardConfig ~= { _.map(_.withMergeMinors(true).withAuthor("scala-steward-ahjohannessen[bot]")) },
organization := "io.github.ahjohannessen",
organizationName := "Alex Henning Johannessen",
startYear := Some(2022),
developers += tlGitHubDev("ahjohannessen", "Alex Henning Johannessen"),
shellPrompt := Prompt.enrichedShellPrompt,
// ==== Github Actions
githubWorkflowTargetBranches := Seq("main"),
githubWorkflowJavaVersions := Seq(JavaSpec.temurin("17"))
)
)