File tree Expand file tree Collapse file tree 3 files changed +5
-25
lines changed Expand file tree Collapse file tree 3 files changed +5
-25
lines changed Original file line number Diff line number Diff line change 59
59
}
60
60
}
61
61
```
62
- 5. You may want to add this to your PROGUARD config:
63
-
64
- ```
65
- -dontwarn com.yalantis.ucrop**
66
- -keep class com.yalantis.ucrop** { *; }
67
- -keep interface com.yalantis.ucrop** { *; }
68
- ```
62
+ 5. The specific rules are [already bundled](ucrop/proguard-rules.pro) into the aar which can be interpreted by R8 automatically.
69
63
70
64
# Customization
71
65
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ android {
10
10
targetSdkVersion 31
11
11
versionCode 26
12
12
versionName " 2.2.8-native"
13
-
13
+ consumerProguardFiles ' proguard-rules.pro '
14
14
vectorDrawables. useSupportLibrary = true
15
15
}
16
16
buildTypes {
Original file line number Diff line number Diff line change 1
- # Add project specific ProGuard rules here.
2
- # By default, the flags in this file are appended to flags specified
3
- # in /Users/oleksii/Library/Android/sdk/tools/proguard/proguard-android.txt
4
- # You can edit the include path and order by changing the proguardFiles
5
- # directive in build.gradle.
6
- #
7
- # For more details, see
8
- # http://developer.android.com/guide/developing/tools/proguard.html
9
-
10
- # Add any project specific keep options here:
11
-
12
- # If your project uses WebView with JS, uncomment the following
13
- # and specify the fully qualified class name to the JavaScript interface
14
- # class:
15
- #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16
- # public *;
17
- #}
1
+ -dontwarn com.yalantis.ucrop**
2
+ -keep class com.yalantis.ucrop** { *; }
3
+ -keep interface com.yalantis.ucrop** { *; }
You can’t perform that action at this time.
0 commit comments