After trying 1.4-M3 I get ```A problem occurred co...
# eap
n
After trying 1.4-M3 I get
Copy code
A problem occurred configuring project ':app'.
> In non-Android projects, Kotlin compilation should not be null
AFAIK it comes from Kapt It seems to come from Kapt https://jar-download.com/artifacts/org.jetbrains.kotlin/kotlin-gradle-plugin/1.2.71/source-code/org/jetbrains/kotlin/gradle/internal/kapt/Kapt3KotlinGradleSubplugin.kt but I don't know why (and why it is the problem only in EAP)
a
Strange, never seen this before. Can you please create an issue at http://kotl.in/issue with some sample project to reproduce.
As a workaround, please add a dependency on the new version 1.4-M3 of the Kotlin Gradle plugin to
buildscript { dependencies { .. } }
. Does it help?
n
@Alexey Belkov [JB] Thanks. Adding Kotlin gradle plugin also to buildscript did help! (Have some other errors/warnings to fix now, but orignal error is gone and build proceeds further 👍 )
👍 1
n
I’m also running into this issue. One of the sample projects compiles fine with 1.4-M3, but my company’s project doesn’t. Do you want me to create a sample project and upload it too?
removing
Copy code
plugins {
    id("io.gitlab.arturbosch.detekt").version("1.10.0")
}
from my module fixes the issue, but in a test project with detekt added, I can’t repro it 🤷
a
n
🙏 thanks