the source test.gradle.kts
plugins {
id("com.google.devtools.ksp")
id( "dagger.hilt.android.plugin")
}
dependencies {
add("ksp",libs.hilt.compiler)
add("implementation",libs.bundles.hilt)
add("implementation",libs.ksp.plugin)
}
the source build.gradle.kts
plugins {
id("com.android.application")
id("kotlin-android")
id("org.jetbrains.kotlin.android")
kotlin("plugin.serialization") version "2.0.0"
id("my-plugin")``your text``
id("test")
// id("hilt")
}
The following is the error message
Cannot query the value of task ‘:app:compileDebugKotlin’ property ‘moduleName’ because it has no value available.
I think it’s because KSP read the moduleName
New contributor
xiaoka xiaoka is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.