Skip to content

Commit

Permalink
ADD: bundle proguard rules in AAR: Yalantis#881
Browse files Browse the repository at this point in the history
  • Loading branch information
jens-muenker committed Jan 20, 2024
1 parent a0389ca commit 0a3aec2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions ucrop/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ android {
minSdkVersion 14
targetSdk 34

consumerProguardFiles 'proguard-rules.pro'
vectorDrawables.useSupportLibrary = true

renderscriptTargetApi 18
Expand Down
4 changes: 4 additions & 0 deletions ucrop/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,7 @@
# -keep public class mypackage.MyClass
# -keep public interface mypackage.MyInterface
# -keep public class * implements mypackage.MyInterface

-dontwarn com.yalantis.ucrop**
-keep class com.yalantis.ucrop** { *; }
-keep interface com.yalantis.ucrop** { *; }

0 comments on commit 0a3aec2

Please sign in to comment.