forked from PkmX/lcamera
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
41 lines (29 loc) · 1.06 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
import android.Keys._
import android.Dependencies.aar
android.Plugin.androidBuild
name := "lcamera"
scalaVersion := "2.11.4"
resolvers += "Akka Snapshot Repository" at "http://repo.akka.io/snapshots/"
libraryDependencies ++= Seq(
"org.scaloid" %% "scaloid" % "3.6.1-10",
"com.scalarx" %% "scalarx" % "0.2.6",
"com.typesafe.akka" %% "akka-actor" % "2.3.6",
"com.melnykov" % "floatingactionbutton" % "1.0.6"
)
platformTarget in Android := "android-21"
proguardCache in Android ++=
Seq ( ProguardCache("org.scaloid") % "org.scaloid" %% "scaloid"
, ProguardCache("rx") % "com.scalarx" %% "scalarx"
, ProguardCache("akka") % "com.typesafe.akka" %% "akka-actor"
)
proguardOptions in Android ++=
Seq ( "-dontobfuscate"
, "-dontoptimize"
, "-keepattributes Signature,InnerClasses,EnclosingMethod"
, "-dontwarn scala.collection.**"
, "-dontwarn sun.misc.Unsafe"
)
scalacOptions in Compile ++= Seq("-feature", "-deprecation")
run <<= run in Android
install <<= install in Android
Keys.`package` <<= `packageT` in Android