Compose Multiplatform component gallery generator
- Mentors
- Artem Kobzar
- Organization
- Kotlin Foundation
- Technologies
- gradle, kotlin, Jetpack Compose, Compose Multiplatform
- Topics
- testing, cross-platform, Multiplatform
This project aims to address the challenge of testing and ensuring consistency across @Composable components in Compose Multiplatform projects. The proposed solution is to develop a Compose Multiplatform component gallery generator that allows developers to design and verify comprehensive component systems within their applications.
The deliverables for this project will include:
1. A Gradle plugin: The main purpose of this Gradle plugin is to generate a runnable app showcasing the Story components written by the developer, tailored for their target platform. This plugin will facilitate the automatic generation of user interfaces for testing components.
2. A Runtime Library: The Runtime Library enables developers to define the specifications of the @Composable components they want to test. This will include an annotation system to mark components as Story items, with the ability to specify component properties and target platforms.
In practice, developers can integrate this tool into their project structure, which will encompass common and platform-specific modules such as commonMain, androidMain, and desktopMain etc... our Gradle tasks will offer a streamlined process to create an app per platform to display all Story components.