Photo by Usman Yousaf on Unsplash




TLDR 2 minutes

// project's build.gradle
dependencies {
// your other dependencies
// Dagger Hilt
classpath "com.google.dagger:hilt-android-gradle-plugin:2.31.2-alpha"
}
// app/build.gradle
dependencies {
// other dependencies

//…




Lukas Vyletel

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store