Skip to content

Commit

Permalink
Fix proguard issues with ezvcard
Browse files Browse the repository at this point in the history
  • Loading branch information
moezbhatti committed Jun 11, 2018
1 parent a2d82dc commit 8233220
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
8 changes: 7 additions & 1 deletion presentation/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,13 @@ dependencies {
kapt "com.google.dagger:dagger-android-processor:$dagger_version"
compileOnly "javax.annotation:jsr250-api:1.0"

// ezvcard
implementation('com.googlecode.ez-vcard:ez-vcard:0.10.4', {
exclude group: "org.jsoup", module: "jsoup"
exclude group: "org.freemarker", module: "freemarker"
exclude group: "com.fasterxml.jackson.core", module: "jackson-core"
})

// realm
implementation("io.realm:android-adapters:$realm_adapters_version") { transitive = false }
kapt "io.realm:realm-annotations:$realm_version"
Expand All @@ -139,7 +146,6 @@ dependencies {
implementation "com.github.chrisbanes:PhotoView:2.0.0"
implementation "com.f2prateek.rx.preferences2:rx-preferences:$rx_preferences_version"
implementation "com.google.android:flexbox:0.3.1"
implementation 'com.googlecode.ez-vcard:ez-vcard:0.10.4'
implementation "com.jakewharton.timber:timber:$timber_version"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
implementation project(":android-smsmms")
Expand Down
6 changes: 6 additions & 0 deletions presentation/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,11 @@
-dontwarn android.net.ConnectivityManager
-dontwarn android.net.LinkProperties

# ez-vcard
-dontwarn ezvcard.**
-dontwarn org.apache.log.**
-dontwarn org.apache.log4j.**
-dontwarn org.python.core.**

# okio
-dontwarn okio.**

0 comments on commit 8233220

Please sign in to comment.