forked from xebia-functional/macroid
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
51 lines (34 loc) · 1.34 KB
/
Copy pathbuild.sbt
File metadata and controls
51 lines (34 loc) · 1.34 KB
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
import android.Keys._
android.Plugin.androidBuildAar
platformTarget in Android := "android-19"
name := "macroid"
description := "A Scala GUI DSL for Android"
homepage := Some(url("http://github.com/macroid/macroid"))
organization := "org.macroid"
version := "2.0.0-SNAPSHOT"
scalaVersion := "2.10.4"
scalacOptions ++= Seq("-feature", "-deprecation")
crossScalaVersions := Seq("2.10.4", "2.11.1")
scalacOptions in (Compile, doc) ++= Seq(
"-sourcepath", baseDirectory.value.getAbsolutePath,
"-doc-source-url", "https://github.com/macroid/macroid/tree/master€{FILE_PATH}.scala"
)
unmanagedSourceDirectories in Test := Seq(baseDirectory.value / "src" / "test" / "scala")
autoCompilerPlugins := true
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
compilerPlugin("org.scalamacros" % "paradise" % "2.0.1" cross CrossVersion.full)
)
libraryDependencies ++= (CrossVersion.partialVersion(scalaVersion.value) match {
case Some((2, 10)) ⇒
Seq("org.scalamacros" %% "quasiquotes" % "2.0.1")
case _ ⇒
Seq()
})
libraryDependencies ++= Seq(
"com.android.support" % "support-v4" % "20.0.0",
"org.scala-lang.modules" %% "scala-async" % "0.9.1",
"org.brianmckenna" %% "wartremover" % "0.10",
"org.scalatest" %% "scalatest" % "2.1.5" % "test"
)
licenses += ("MIT", url("http://opensource.org/licenses/MIT"))