Created
June 8, 2016 10:40
-
-
Save MateuszKubuszok/5023b3eea93efd191840aa7e6dface1e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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