27 lines
1.0 KiB
Prolog
27 lines
1.0 KiB
Prolog
# Add project specific ProGuard rules here.
|
|
# You can control the set of applied configuration files using the
|
|
# proguardFiles setting in build.gradle.
|
|
#
|
|
# For more details, see
|
|
# http://developer.android.com/guide/developing/tools/proguard.html
|
|
|
|
# Uncomment this to preserve the line number information for
|
|
# debugging stack traces.
|
|
-keepattributes SourceFile,LineNumberTable
|
|
|
|
# If you keep the line number information, uncomment this to
|
|
# hide the original source file name.
|
|
#-renamesourcefileattribute SourceFile
|
|
|
|
# Keep Application class
|
|
-keep class com.mattintech.lchat.LChatApplication { *; }
|
|
|
|
# Hilt rules
|
|
-keep class dagger.hilt.** { *; }
|
|
-keep class javax.inject.** { *; }
|
|
-keep class * extends dagger.hilt.android.internal.managers.ViewComponentManager { *; }
|
|
|
|
# Keep all @HiltAndroidApp, @AndroidEntryPoint, @HiltViewModel annotated classes
|
|
-keep @dagger.hilt.android.HiltAndroidApp class * { *; }
|
|
-keep @dagger.hilt.android.AndroidEntryPoint class * { *; }
|
|
-keep @dagger.hilt.android.lifecycle.HiltViewModel class * { *; } |