This repository has been archived by the owner on May 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 220
/
build.sbt
42 lines (30 loc) · 1.18 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
42
import android.Keys._
import android.Dependencies.aar
android.Plugin.androidBuild
name := "lcamera"
scalaVersion := "2.11.5"
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",
"com.github.rahatarmanahmed" % "circularprogressview" % "1.0.0"
)
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", "-Xlint", "-Xfuture", "-Ywarn-dead-code", "-Ywarn-unused")
run <<= run in Android
install <<= install in Android
Keys.`package` <<= `packageT` in Android