Hi I have a query ```e: /home/samyak/kotlin/master...
# gradle
s
Hi I have a query
Copy code
e: /home/samyak/kotlin/master/kotlin-1.3.30/libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/internal/kapt/Kapt3KotlinGradleSubplugin.kt: (302, 38): Type inference failed: Not enough information to infer parameter T in fun <T> emptyList(): List<T>
Please specify it explicitly.

e: /home/samyak/kotlin/master/kotlin-1.3.30/libraries/tools/kotlin-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/plugin/TaskProviderHolder.kt: (25, 59): Unresolved reference: register
:kotlin-gradle-plugin:compileKotlin FAILED
I'm unable to rectify upper bits, where is the register method implemented in gradle I checked for • org.gradle.api.Project • org.gradle.api.Task • org.gradle.api.tasks.TaskProvider But had no luck 😕
i
Perhaps,
register
is a part of the Gradle task configuration avoidance API, introduced in 5.1: https://docs.gradle.org/current/userguide/task_configuration_avoidance.html