arekolek
12/21/2022, 12:56 PMdependencies {
implementation "com.android.tools.build:gradle:7.3.1"
}
I'm getting an error when trying to build a module that uses compose:
> Task :app:compileDebugKotlin FAILED
e: org.jetbrains.kotlin.backend.common.BackendException: Backend Internal error: Exception during IR lowering
...
(more in snippet)
I have no idea why should the implementation
dependency of buildSrc
affect app
module in such a way 😮 any ideas?arekolek
12/21/2022, 1:18 PMbuild.gradle
I also have:
buildscript {
// ...
dependencies {
// ...
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.20"
and in buildSrc/build.gradle
I have:
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.7.10'
}
and changing 1.7.10
to 1.7.20
seems to have helped
I'm still not sure why it was ok before adding the AGP dependency and failed afterarekolek
12/21/2022, 1:28 PMdependencies {
implementation "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.20"
}
to buildSrc/build.gradle
for it to work