adding DepedencyInjnection with HILT
This commit is contained in:
15
app/proguard-rules.pro
vendored
15
app/proguard-rules.pro
vendored
@@ -11,4 +11,17 @@
|
||||
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
||||
#-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 * { *; }
|
||||
Reference in New Issue
Block a user