-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
23 lines (19 loc) · 1.06 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
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / scalaVersion := Dependencies.Version.scala
Global / onChangedBuildSource := ReloadOnSourceChanges
addCommandAlias("fmt", "all functional-project/scalafmtSbt functional-project/scalafmtAll")
addCommandAlias("fmtCheck", "all functional-project/scalafmtSbtCheck functional-project/scalafmtCheckAll")
addCommandAlias("check", "; scalafmtSbtCheck; scalafmtCheckAll")
addCommandAlias("publishKind", "fmt; clean; test; docker; kind; ")
// TODO: This shouldn't have DockerPlugin or KindPlugin.
// We should move those to only the sub-modules when
// we use sub-modules.
lazy val `functional-project` = (project in file("."))
.enablePlugins(DockerPlugin, ScalafmtPlugin, KindPlugin)
.settings(Settings.commonSettings)
.settings(Settings.commonUberDockerSettings)
.settings(Settings.commonKindSettings)
.settings(organization := "org.cmoran")
.settings(moduleName := "functional-project")
.settings(name := "functional-project")
.settings(libraryDependencies ++= Settings.basicDependencies ++ Seq(Dependencies.nscalatime))