This repository has been archived by the owner on Mar 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
60 lines (53 loc) · 1.66 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
import sbt._, Keys._
import slamdata.CommonDependencies
import slamdata.SbtSlamData.transferPublishAndTagResources
lazy val baseSettings = commonBuildSettings ++ Seq(
organization := "com.slamdata",
libraryDependencies += CommonDependencies.slamdata.predef,
wartremoverWarnings in (Compile, compile) --= Seq(
// Triggered by Monocle @Lenses annotation.
Wart.PublicInference
)
)
lazy val publishSettings = commonPublishSettings ++ Seq(
organizationName := "SlamData Inc.",
organizationHomepage := Some(url("http://slamdata.com")),
homepage := Some(url("https://github.com/slamdata/scala-xml-names")),
scmInfo := Some(
ScmInfo(
url("https://github.com/slamdata/scala-xml-names"),
"scm:git@github.com:slamdata/scala-xml-names.git"
)
))
lazy val allSettings =
baseSettings ++ publishSettings
lazy val root = (project in file("."))
.aggregate(core, scalacheck)
.settings(allSettings)
.settings(noPublishSettings)
.settings(transferPublishAndTagResources)
.settings(Seq(
name := "xml-names"
))
lazy val core = (project in file("core"))
.enablePlugins(AutomateHeaderPlugin)
.settings(allSettings)
.settings(Seq(
name := "xml-names-core",
libraryDependencies ++= Seq(
CommonDependencies.monocle.core,
CommonDependencies.monocle.`macro`,
CommonDependencies.refined.refined,
CommonDependencies.scalaz.core
)
))
lazy val scalacheck = (project in file("scalacheck"))
.dependsOn(core)
.enablePlugins(AutomateHeaderPlugin)
.settings(allSettings)
.settings(Seq(
name := "xml-names-scalacheck",
libraryDependencies ++= Seq(
CommonDependencies.scalacheck.scalacheck
)
))