Skip to content

Commit 8884f86

Browse files
authored
Merge pull request #413 from samtstern/consumer-proguard
Add basic consumer proguard rules
2 parents fb31f91 + e18a367 commit 8884f86

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

library/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ android {
99
targetSdkVersion targetSdk
1010
versionCode 1
1111
versionName "0.0.0"
12+
13+
consumerProguardFiles 'consumer-proguard-rules.txt'
1214
}
1315

1416
buildTypes {

library/consumer-proguard-rules.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Recommended flags for Firebase Auth
2+
-keepattributes Signature
3+
-keepattributes *Annotation*
4+
5+
# Don't warn about retrofit or okio classes
6+
-dontwarn retrofit.**
7+
-dontwarn retrofit2.**
8+
-dontwarn okio.**

0 commit comments

Comments
 (0)