Jetpack Compose 0.1.0-dev16 with Compiler Plugin 1.4.0-rc - debugCompileKotlin never starts/ends...
See original GitHub issueDescribe the bug
Hey,
If you use Jetpack Compose with the android.composeOptions
and the Google compiler extensions (see gradle.build.kts
in app) and the kotlinx Serialization compiler plugin, the Gradle task debugCompileKotlin
never ends. Maybe it even doesn’t start…
To Reproduce After disabling the compiler plugin, the gradle build finished See https://github.com/hfhbd/ComposeTodo) working commit: https://github.com/hfhbd/ComposeTodo/commit/12dfba4ce5080997f049d5fe7c1a27d926830c0b) failing ci log: https://github.com/hfhbd/ComposeTodo/actions/runs/202626642
Expected behavior A working build
Current Workaround Write the serializer by yourself (https://github.com/hfhbd/ComposeTodo/commit/12dfba4ce5080997f049d5fe7c1a27d926830c0b) or move the DTOs into a separate module
Environment
- Kotlin version: 1.4.0-rc
- Library version: 1.0-M1-1.4.0-rc
- Kotlin platforms: JVM (Android)
- Gradle version: 6.6-rc6
- IDE version: IntellijIDEA 2020.2
- Other relevant context: Using Jetpack Compose 0.1.0-dev16
Issue Analytics
- State:
- Created 3 years ago
- Reactions:25
- Comments:13 (7 by maintainers)
Top GitHub Comments
This issue only exists when using compose+serialization if used within the same module. Temporary workaround is to just separate the components into different modules (ui/app+network/serialization).
I can’t give any particular guarantees. However, we have a plan to align this with Compose Beta.