forked from wheaties/TwoTails
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
34 lines (31 loc) · 911 Bytes
/
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
import TwoTails._
import com.typesafe.sbt.SbtSite.SiteKeys._
import com.typesafe.sbt.SbtGhPages.GhPagesKeys._
lazy val root = (project in file(".")).settings(
scalaVersion := "2.12.0", //"2.11.8",
publishArtifact := false
)
.aggregate(plugin, lib)
lazy val plugin = build("twotails", "core").settings(
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-compiler" % scalaVersion.value % "provided"
),
scalacOptions in Test ++= Seq(
"-Xplugin:" + (packageBin in Compile).value,
//"-verbose",
"-Xprint-types",
//"-Xprint-pos",
//"-Xshow-phases",
"-Xlog-reflective-calls",
//"-Xprint:twotails",
"-Ylog:twotails"
//"-Xprint:explicitouter"
//"-Xprint:erasure"
//"-Ycheck:twotails"
),
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.0" % "test"
)
)
.dependsOn(lib)
lazy val lib = build("twotails-annotations", "annotations")