Kamel-Media / Kamel

Kotlin asynchronous media loading and caching library for Compose.
Apache License 2.0
595 stars 23 forks source link

Proguard removing necessary fetcher classes #47

Closed rushiiMachine closed 8 months ago

rushiiMachine commented 1 year ago

I'm forced to add this to my proguard rules otherwise Kamel refuses to load due to not being able to find classes through reflection

-keep class io.kamel.** { *; }

Is there a more accurate ruleset I can use rather than marking the whole lib to keep?

luca992 commented 8 months ago

I finally just tried out enabling minify and you're right. I'm just going to remove reflection in the next release and use the same method as every other non-jvm target.

luca992 commented 8 months ago

fixed by a3720b8566c73de1589d7cd66306f127294f8c25

released in 0.8.3

You shouldn't need any rules now