Samyak Jain
08/22/2020, 7:27 AMe: /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 😕ilya.gorbunov
08/25/2020, 12:07 AMregister
is a part of the Gradle task configuration avoidance API, introduced in 5.1:
https://docs.gradle.org/current/userguide/task_configuration_avoidance.html