We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecea15d commit 489aebfCopy full SHA for 489aebf
build-logic/convention/src/main/kotlin/HiltConventionPlugin.kt
@@ -26,7 +26,13 @@ class HiltConventionPlugin : Plugin<Project> {
26
pluginManager.apply("com.google.devtools.ksp")
27
dependencies {
28
add("ksp", libs.findLibrary("hilt.compiler").get())
29
- add("implementation", libs.findLibrary("hilt.core").get())
+ }
30
+
31
+ // Add support for Jvm Module, base on org.jetbrains.kotlin.jvm
32
+ pluginManager.withPlugin("org.jetbrains.kotlin.jvm") {
33
+ dependencies {
34
+ add("implementation", libs.findLibrary("hilt.core").get())
35
36
}
37
38
/** Add support for Android modules, based on [AndroidBasePlugin] */
0 commit comments