diff --git a/ucrop/build.gradle b/ucrop/build.gradle index 2715ad2d..73d38dfb 100644 --- a/ucrop/build.gradle +++ b/ucrop/build.gradle @@ -14,6 +14,7 @@ android { minSdkVersion 14 targetSdk 34 + consumerProguardFiles 'proguard-rules.pro' vectorDrawables.useSupportLibrary = true renderscriptTargetApi 18 diff --git a/ucrop/proguard-rules.pro b/ucrop/proguard-rules.pro index 8657cfc1..0377e856 100644 --- a/ucrop/proguard-rules.pro +++ b/ucrop/proguard-rules.pro @@ -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** { *; } \ No newline at end of file