Closed atsushieno closed 10 months ago
There was a build breakage started at https://github.com/atsushieno/aap-core/actions/runs/6064936625
Gradle was already 8.1 and AGP was already 8.1.0 before this change i.e. task dependency resolution was working fine.
It could be fixed by downgrading Kotlin to 1.8.x. Since Jetpack Compose 1.5.0 requires Kotlin 1.9.0, it also had to be downgraded to 1.4.3.
It seemed weird, but turned out that there was already an issue filed at YouTrack.
https://youtrack.jetbrains.com/issue/KT-46466/Kotlin-MPP-publishing-Gradle-7-disables-optimizations-because-of-task-dependencies
Which subsequently resulted in a filed issue at Gradle which fails to report the exact cause of the problem as always.
https://github.com/gradle/gradle/issues/26091
So far we have downgraded Kotlin to 1.8.10 at 8471699, but it is not very healthy state.
There are some people who had workaround on the gradle issue ^ so we could try (I would do that after the async-aapxs work is done)
There was a build breakage started at https://github.com/atsushieno/aap-core/actions/runs/6064936625
Gradle was already 8.1 and AGP was already 8.1.0 before this change i.e. task dependency resolution was working fine.
It could be fixed by downgrading Kotlin to 1.8.x. Since Jetpack Compose 1.5.0 requires Kotlin 1.9.0, it also had to be downgraded to 1.4.3.
It seemed weird, but turned out that there was already an issue filed at YouTrack.
https://youtrack.jetbrains.com/issue/KT-46466/Kotlin-MPP-publishing-Gradle-7-disables-optimizations-because-of-task-dependencies
Which subsequently resulted in a filed issue at Gradle which fails to report the exact cause of the problem as always.
https://github.com/gradle/gradle/issues/26091
So far we have downgraded Kotlin to 1.8.10 at 8471699, but it is not very healthy state.