forked from precog/fs2-job
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
36 lines (28 loc) · 1.03 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
import scala.Some
import scala.collection.Seq
ThisBuild / crossScalaVersions := Seq("2.12.10", "2.13.1")
ThisBuild / scalaVersion := "2.12.10"
ThisBuild / githubRepository := "fs2-job"
homepage in ThisBuild := Some(url("https://github.com/precog/fs2-job"))
scmInfo in ThisBuild := Some(ScmInfo(
url("https://github.com/precog/fs2-job"),
"scm:git@github.com:precog/fs2-job.git"))
// Include to also publish a project's tests
lazy val publishTestsSettings = Seq(
publishArtifact in (Test, packageBin) := true)
lazy val root = project
.in(file("."))
.settings(noPublishSettings)
.aggregate(core)
.enablePlugins(AutomateHeaderPlugin)
lazy val core = project
.in(file("core"))
.settings(name := "fs2-job")
.settings(
libraryDependencies ++= Seq(
"co.fs2" %% "fs2-core" % "2.2.1",
"org.specs2" %% "specs2-core" % "4.8.2" % "test"),
addCompilerPlugin("com.olegpy" %% "better-monadic-for" % "0.3.1"),
performMavenCentralSync := false,
publishAsOSSProject := true)
.enablePlugins(AutomateHeaderPlugin)