# Add project specific ProGuard rules here. # You can control the set of applied configuration files using the # proguardFiles setting in build.gradle.kts. # Keep Moshi JSON adapters -keep class com.fizzy.android.data.api.dto.** { *; } -keepclassmembers class com.fizzy.android.data.api.dto.** { *; } # Keep Retrofit interfaces -keep,allowobfuscation,allowshrinking interface retrofit2.Call -keep,allowobfuscation,allowshrinking class retrofit2.Response -keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation # Keep Moshi adapters -keep class com.squareup.moshi.** { *; } -keep interface com.squareup.moshi.** { *; } -keepclassmembers class * { @com.squareup.moshi.FromJson *; @com.squareup.moshi.ToJson *; } # Keep Hilt generated components -keep class dagger.hilt.** { *; } -keep class javax.inject.** { *; } -keep class * extends dagger.hilt.android.internal.managers.ComponentSupplier { *; } # Keep domain models -keep class com.fizzy.android.domain.model.** { *; } # Coroutines -keepnames class kotlinx.coroutines.internal.MainDispatcherFactory {} -keepnames class kotlinx.coroutines.CoroutineExceptionHandler {} # OkHttp -dontwarn okhttp3.internal.platform.** -dontwarn org.conscrypt.** -dontwarn org.bouncycastle.** -dontwarn org.openjsse.**