Fix duplicated implementation of hilt. (#1570)

Change-Id: I82c2e06b594297cdae7009ee5e87162d0295eb7c
pull/1678/head
Jaehwa Noh 1 month ago committed by GitHub
parent ecea15d3e4
commit 489aebf629
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -26,7 +26,13 @@ class HiltConventionPlugin : Plugin<Project> {
pluginManager.apply("com.google.devtools.ksp")
dependencies {
add("ksp", libs.findLibrary("hilt.compiler").get())
add("implementation", libs.findLibrary("hilt.core").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] */

Loading…
Cancel
Save