Skip to content

Instantly share code, notes, and snippets.

@DivS-15
Created July 14, 2022 09:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DivS-15/40a20aa94f5a94eb9e025c848b5a5590 to your computer and use it in GitHub Desktop.
Save DivS-15/40a20aa94f5a94eb9e025c848b5a5590 to your computer and use it in GitHub Desktop.
apply plugin: 'kotlin-kapt'
apply plugin: 'dagger.hilt.android.plugin'
...
dependencies {
....
implementation "androidx.work:work-runtime-ktx:2.7.1"
implementation "com.google.dagger:hilt-android:2.42"
kapt "com.google.dagger:hilt-compiler:2.42"
implementation 'androidx.hilt:hilt-work:1.0.0'
// When using Kotlin.
kapt 'androidx.hilt:hilt-compiler:1.0.0'
implementation "androidx.startup:startup-runtime:1.1.1"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment