atsushieno / aap-core

an Audio Plugin Format/Framework for Android
MIT License
91 stars 3 forks source link

update Jetpack Compose to 1.5.0 and Kotlin to 1.9.0 is blocked due to AGP/Gradle issue #168

Closed atsushieno closed 10 months ago

atsushieno commented 1 year 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.

atsushieno commented 1 year ago

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)