Skip to content

Commit

Permalink
Update proguard-rules.pro
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheikh-Abdul-Aziz authored Jul 19, 2024
1 parent f5be9e0 commit 27cd755
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions filetree/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,26 +1,8 @@
# Preserve the FileTree classes and their members
# Keep all classes in filetree module
-keep class com.zyron.filetree.** { *; }

# Preserve the adapter classes and their members
-keep class com.zyron.filetree.adapter.** { *; }

# Preserve the provider classes and their members
-keep class com.zyron.filetree.provider.** { *; }

# Preserve the listener classes and their members
-keep class com.zyron.filetree.FileTreeAdapterUpdateListener { *; }
-keep class com.zyron.filetree.FileTreeClickListener { *; }

-keep class java.lang.invoke.StringConcatFactory { *; }

# Keep standard library classes used by R8
-dontwarn java.lang.invoke.**
-keep class java.lang.invoke.** { *; }

# Exclude the RecyclerViewItemBinding from the filetree module
-dontwarn com.zyron.filetree.databinding.RecyclerViewItemBinding
-keep class com.zyron.filetree.databinding.RecyclerViewItemBinding { *; }

# Exclude DataBinderMapperImpl from multiple sources
# Exclude DataBinderMapperImpl to avoid duplication
-dontwarn com.zyron.filetree.DataBinderMapperImpl
-keep class com.zyron.filetree.DataBinderMapperImpl { *; }

0 comments on commit 27cd755

Please sign in to comment.