F-Droid build failed
https://gitlab.com/fdroid/checkupdates-bot-fdroiddata/-/jobs/8252325792
https://gitlab.com/fdroid/fdroiddata/-/merge_requests/16283
I thought this is because we enabled shrinkResources to remove the nonfree libs from flutter. Could you please take a look? Thanks!
Hi @linsui, we need to have "shrinkResources = false" as the app uses a epub reader which requires it
Maybe this can be solved by proper proguard rules?
I don't know but will look on it, so without shrink the app build won't be available in fdroid?
Yep, see https://gitlab.com/fdroid/fdroiddata/-/issues/2949 for more details. :)
@linsui Thank you will look into it
I added this to fix it.
# Keep Joda-Time classes that reference org.joda.convert annotations
-keep class org.joda.time.** { *; }
# Keep the org.joda.convert annotations that are missing at runtime
-keep class org.joda.convert.** { *; }
# Suppress warnings about missing org.joda.convert classes
-dontwarn org.joda.convert.**