earlier we could add dagger-hilt using this in root build.gradle file:
buildscript {
...
dependencies {
...
classpath 'com.google.dagger:hilt-android-gradle-plugin:2.38.1'
}
}
how can we add this in android studio chipmunk and higher
id 'com.google.dagger.hilt.android' version '2.43' apply false
You can use this code