Skip to content

Commit

Permalink
Updated Proguard's rules
Browse files Browse the repository at this point in the history
  • Loading branch information
CheK539 committed Jun 7, 2024
1 parent 5ef3574 commit 778d129
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 4.3.0
**Library changes:**
- Added convert methods with result data
- Updated Proguard's rules to keep public classes

## 4.2.0
**Library changes:**
Expand Down
7 changes: 1 addition & 6 deletions library/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,4 @@

-dontwarn java.lang.invoke.StringConcatFactory

-keep class com.uploadcare.android.library.data.** { *; }
-keep class com.uploadcare.android.library.api.Project { *; }
-keep class com.uploadcare.android.library.api.UploadcareCopyFile { *; }
-keep class com.uploadcare.android.library.api.UploadcareFile { *; }
-keep class com.uploadcare.android.library.api.UploadcareGroup { *; }
-keep class com.uploadcare.android.library.api.UploadcareWebhook { *; }
-keep class com.uploadcare.android.library.** { *; }
2 changes: 1 addition & 1 deletion widget/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# public *;
#}

-keep class com.uploadcare.android.widget.data.** { *; }
-keep class com.uploadcare.android.widget.** { *; }

# Keep inherited services.
-if interface * { @retrofit2.http.* <methods>; }
Expand Down

0 comments on commit 778d129

Please sign in to comment.