-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
77 lines (69 loc) · 1.99 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
ThisBuild / scalaVersion := "3.5.2"
ThisBuild / organization := "dev.wishingtree"
ThisBuild / organizationName := "Wishing Tree"
ThisBuild / organizationHomepage := Some(
url("https://github.com/wishingtreedev")
)
ThisBuild / homepage := Some(
url("https://github.com/wishingtreedev/branch")
)
ThisBuild / description := "A zero-dependency Scala framework"
ThisBuild / licenses := List(
"Apache 2" -> url("https://www.apache.org/licenses/LICENSE-2.0.txt")
)
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/wishingtreedev/branch"),
"scm:git:[email protected]:wishingtreedev/branch.git",
Some("scm:git:[email protected]:wishingtreedev/branch.git")
)
)
ThisBuild / developers := List(
Developer(
id = "alterationx10",
name = "Mark Rudolph",
email = "[email protected]",
url = url("https://alterationx10.com/")
)
)
ThisBuild / version := sys.env.getOrElse("BRANCH_VERSION", "0.0.0-SNAPSHOT")
ThisBuild / versionScheme := Some("early-semver")
ThisBuild / publishTo := Some(
"Local Bundle" at (baseDirectory.value / "bundle").toURI.toString
)
credentials += Credentials(
"GnuPG Key ID",
"gpg",
"401126ef4e40ebab",
""
)
ThisBuild / scalacOptions ++= Seq(
"-no-indent",
"-rewrite",
"-source:3.4-migration",
"-Wunused:all",
"-deprecation",
"-feature"
)
ThisBuild / semanticdbEnabled := true
ThisBuild / semanticdbVersion += scalafixSemanticdb.revision
Test / fork := true
lazy val root = project
.in(file("."))
.settings(
name := "root",
publish / skip := true
)
.aggregate(branch)
lazy val branch = project
.in(file("branch"))
.settings(
name := "branch",
libraryDependencies ++= Seq(
"org.scalameta" %% "munit" % "1.1.0",
"org.testcontainers" % "testcontainers" % "1.20.4",
"org.postgresql" % "postgresql" % "42.7.5"
).map(_ % Test)
)
addCommandAlias("fmt", "scalafmt")
addCommandAlias("fix", "scalafix")