-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
39 lines (23 loc) · 882 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
35
36
37
38
39
import android.Keys._
javacOptions ++= Seq("-source", "1.7", "-target", "1.7")
android.Plugin.androidBuild
name := "hello-scaloid-sbt"
scalaVersion := "2.11.6"
useProguard:= false
proguardCache in Android ++= Seq(
ProguardCache("org.scaloid") % "org.scaloid"
)
proguardOptions in Android ++= Seq("-dontobfuscate", "-dontoptimize", "-keepattributes Signature", "-printseeds target/seeds.txt", "-printusage target/usage.txt"
, "-dontwarn scala.collection.**" // required from Scala 2.11.4
)
libraryDependencies ++= Seq(
"org.scaloid" %% "scaloid" % "3.6.1-10" withSources() withJavadoc()
// "com.android.support" % "appcompat-v7" % "22.0.0"
)
libraryDependencies ++= Seq(
aar("com.android.support" % "appcompat-v7" % "22.0.0")
)
scalacOptions in Compile += "-feature"
run <<= run in Android
install <<= install in Android
retrolambdaEnable in Android := false