Hilt Version: 2.36Compose Project
Android Studio Bumblebee | 2021.1.1 Canary 1
Build #AI-203.7717.56.2111.7361063, built on May 14, 2021
Runtime version: 11.0.10+0-b96-7281165 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 11.4
Depends:
const val gradleVersion = "7.1.0-alpha01"
const val hiltVersion = "2.36"
const val hiltCompilerVersion = "1.0.0"
const val hilt_android = "com.google.dagger:hilt-android:${Versions.hiltVersion}"
const val hilt_android_compiler = "com.google.dagger:hilt-android-compiler:${Versions.hiltVersion}"
const val hilt_compiler = "androidx.hilt:hilt-compiler:${Versions.hiltCompilerVersion}"
Hilt Version: 2.36 Compose Project Android Studio Bumblebee | 2021.1.1 Canary 1 Build #AI-203.7717.56.2111.7361063, built on May 14, 2021 Runtime version: 11.0.10+0-b96-7281165 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 11.4
Depends:
Root's build.gradle:
App's build.gradle:
Domain's build.gradle:
Data's build.gradle:
Presentation's build.gradle:
And it doesn't matter if I only use
hilt_android_compiler
or onlyhilt_compiler
.Sample project: https://github.com/Drjacky/MVVMTemplate/tree/feature/compose