Link to file or error 1 <https://salsa.debian.org/...
# gradle
i
@Samyak Jain In this line there's no way for Kotlin compiler to infer the list element type: it's specified neither in
emptyList
nor in the property type. Originally, there was
if
with two branches, and I suppose the element type was inferred from the first branch. If you've removed it, you need now to specify the element type explicitly. https://github.com/JetBrains/kotlin/blob/1.3.30/libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/internal/kapt/Kapt3KotlinGradleSubplugin.kt#L303