Skip to content

Commit

Permalink
Adjust proguard rules
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinTCoughlin committed Nov 3, 2024
1 parent ec15bd1 commit db0b0ae
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
18 changes: 17 additions & 1 deletion Smodr/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,20 @@
-keepattributes *Annotation*
-keepclassmembers class ** {
@androidx.annotation.Keep *;
}
}

# Keep BinderRecyclerAdapter and all its inner classes
-keep class com.cascadiacollections.jamoka.adapter.BinderRecyclerAdapter { *; }
-keepclassmembers class com.cascadiacollections.jamoka.adapter.BinderRecyclerAdapter$Binder { *; }

# Keep BinderRecyclerFragment and all its inner classes
-keep class com.cascadiacollections.jamoka.fragment.BinderRecyclerFragment { *; }
-keepclassmembers class com.cascadiacollections.jamoka.fragment.BinderRecyclerFragment$OnItemSelected { *; }

# Keep BinderRecyclerAdapter and its inner classes
-keep class com.cascadiacollections.jamoka.adapter.BinderRecyclerAdapter { *; }
-keep class com.cascadiacollections.jamoka.adapter.BinderRecyclerAdapter$Binder { *; }

# Keep BinderRecyclerFragment and its inner classes
-keep class com.cascadiacollections.jamoka.fragment.BinderRecyclerFragment { *; }
-keep class com.cascadiacollections.jamoka.fragment.BinderRecyclerFragment$OnItemSelected { *; }
18 changes: 17 additions & 1 deletion common-android/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,20 @@
-keepattributes *Annotation*
-keepclassmembers class ** {
@androidx.annotation.Keep *;
}
}

# Keep BinderRecyclerAdapter and all its inner classes
-keep class com.cascadiacollections.jamoka.adapter.BinderRecyclerAdapter { *; }
-keepclassmembers class com.cascadiacollections.jamoka.adapter.BinderRecyclerAdapter$Binder { *; }

# Keep BinderRecyclerFragment and all its inner classes
-keep class com.cascadiacollections.jamoka.fragment.BinderRecyclerFragment { *; }
-keepclassmembers class com.cascadiacollections.jamoka.fragment.BinderRecyclerFragment$OnItemSelected { *; }

# Keep BinderRecyclerAdapter and its inner classes
-keep class com.cascadiacollections.jamoka.adapter.BinderRecyclerAdapter { *; }
-keep class com.cascadiacollections.jamoka.adapter.BinderRecyclerAdapter$Binder { *; }

# Keep BinderRecyclerFragment and its inner classes
-keep class com.cascadiacollections.jamoka.fragment.BinderRecyclerFragment { *; }
-keep class com.cascadiacollections.jamoka.fragment.BinderRecyclerFragment$OnItemSelected { *; }

0 comments on commit db0b0ae

Please sign in to comment.