Samyak Jain
08/22/2020, 7:32 AMilya.gorbunov
08/25/2020, 12:04 AMemptyList
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