Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// Android
packagingOptions in Android := PackagingOptions(Nil, Nil, Seq("META-INF/NOTICE.txt", "META-INF/LICENSE.txt")),
platformTarget in Android := "android-23",
minSdkVersion in Android := "23",
targetSdkVersion in Android := "23",
debugIncludesTests in Android := false,
dexMulti in Android := true,
typedResources in Android := false,
// Proguard
proguardOptions in Android ++= Seq(
// duplicate definition :P
"-dontnote android.net.http.**",
"-dontnote com.facebook.**",
"-dontnote org.apache.http.**",
// classes that should stay
"-keep class com.facebook.**",
"-keep class com.talkie.client.**",
"-keepattributes *Annotation*",
"-keep public class * extends android.support.design.widget.CoordinatorLayout.Behavior { *; }",
"-keep public class * extends android.support.design.widget.ViewOffsetBehavior { *; }",
// removed unused
"-dontwarn com.google.common.**",
"-dontwarn org.slf4j.**",
"-dontwarn scala.slick.**",
"-dontwarn scalaz.**",
"-dontwarn shapeless.**"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.