Fix duplicated implementation of hilt. (#1570)

Change-Id: I82c2e06b594297cdae7009ee5e87162d0295eb7c
main
Jaehwa Noh 2 weeks ago committed by GitHub
parent ecea15d3e4
commit 489aebf629
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -26,8 +26,14 @@ class HiltConventionPlugin : Plugin<Project> {
pluginManager.apply("com.google.devtools.ksp")
dependencies {
add("ksp", libs.findLibrary("hilt.compiler").get())
}
// Add support for Jvm Module, base on org.jetbrains.kotlin.jvm
pluginManager.withPlugin("org.jetbrains.kotlin.jvm") {
dependencies {
add("implementation", libs.findLibrary("hilt.core").get())
}
}
/** Add support for Android modules, based on [AndroidBasePlugin] */
pluginManager.withPlugin("com.android.base") {

Loading…
Cancel
Save