Define proguard rules for 'library-image-loader' in its own file

This commit is contained in:
Daniel Leal 2018-01-11 16:18:45 +01:00
parent d7630631b6
commit 1df893ba02
5 changed files with 7 additions and 8 deletions

5
app/proguard.pro vendored
View File

@ -1,5 +0,0 @@
-dontwarn okhttp3.**
-dontwarn okio.**
-keep class com.caverock.androidsvg.** { *; }
-dontwarn com.caverock.androidsvg.**

View File

@ -10,6 +10,8 @@ android {
targetSdkVersion TARGET_SDK targetSdkVersion TARGET_SDK
versionCode 1 versionCode 1
versionName version versionName version
consumerProguardFiles 'lib-proguard-rules.pro'
} }
lintOptions { lintOptions {

View File

@ -0,0 +1,5 @@
-dontwarn okhttp3.**
-dontwarn okio.**
-keep class com.caverock.androidsvg.** { *; }
-dontwarn com.caverock.androidsvg.**

View File

@ -11,8 +11,6 @@ android {
targetSdkVersion TARGET_SDK targetSdkVersion TARGET_SDK
versionCode 1 versionCode 1
versionName version versionName version
consumerProguardFiles 'lib-proguard-rules.pro'
} }
libraryVariants.all { variant -> libraryVariants.all { variant ->

View File

@ -1 +0,0 @@
-keep class ru.noties.markwon.** { *; }