Skip to content

Commit

Permalink
Merge pull request #220 from skydoves/consumer.pro
Browse files Browse the repository at this point in the history
Add consumer proguard rules for sandwich module
  • Loading branch information
skydoves authored Nov 21, 2023
2 parents 8dc432f + 6d6369e commit 1450395
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions sandwich/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ android {
namespace = "com.skydoves.sandwich"
defaultConfig {
minSdk = Configuration.minSdk
consumerProguardFiles("consumer-rules.pro")
}

compileOptions {
Expand Down
2 changes: 2 additions & 0 deletions sandwich/src/androidMain/consumer-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# R8 full mode strips signatures from non-kept items.
-keep,allowobfuscation,allowshrinking interface com.skydoves.sandwich.ApiResponse

0 comments on commit 1450395

Please sign in to comment.