-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
28 lines (25 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
lazy val common = Seq(
organization := "com.gregghz",
version := "0.0.1-SNAPSHOT",
scalacOptions ++= Seq("-deprecation", "-Xlint", "-feature", "-Xfatal-warnings")
)
lazy val plugin = project.in(file("./plugin")).settings(common).settings(
sbtPlugin := true,
name := "sbt-android-room",
scalaVersion := "2.10.6",
addSbtPlugin("org.scala-android" % "sbt-android" % "1.7.7")
)
lazy val library = project.in(file("./library")).settings(common).settings(
name := "android-room",
scalaVersion := "2.11.8",
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full),
scalacOptions += "-language:experimental.macros",
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-compiler" % scalaVersion.value % Provided,
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
"com.chuusai" %% "shapeless" % "2.3.2" % Test,
"org.specs2" %% "specs2-core" % "3.8.7" % Test,
"org.specs2" %% "specs2-mock" % "3.8.7" % Test,
"android.arch.persistence.room" % "runtime" % "1.0.0-alpha1" % Test
)
)