Disable full mode R8 optimizations

Full mode R8 configurations are hindering the working of the app severly.
So, disable the same.

Also, ensure the POJO classes used to hold the API responses aren't optimized
so that we could use the response properly without any issues.
This commit is contained in:
Kaartic Sivaraam 2023-10-16 00:14:21 +05:30
parent a629756f3a
commit eae3e312e4
2 changed files with 3 additions and 0 deletions

View file

@ -31,6 +31,8 @@
-keepattributes Signature
# Retain declared checked exceptions for use by a Proxy instance.
-keepattributes Exceptions
# Classes used by retrofit to fetch API repsonse
-keepclasseswithmembers class org.wikipedia.** { *; }
# --- /Retrofit ---
# --- OkHttp + Okio ---

View file

@ -15,6 +15,7 @@
#Thu Mar 01 15:28:48 IST 2018
org.gradle.jvmargs=-Xmx1536M
org.gradle.caching=true
android.enableR8.fullMode=false
KOTLIN_VERSION=1.7.20
BUTTERKNIFE_VERSION=10.1.0