Skip to content

Why is it distributed as a compiler plugin? #156

Answered by JakeWharton
joakimtall asked this question in Q&A
Discussion options

You must be logged in to vote

It adds two dependencies: the runtime APIs as a normal dependency and the Jetpack Compose Kotlin compiler plugin. It also enables the stub generation behavior of the Compose compiler plugin when targeting Kotlin/JS.

It's the same reason that JetBrains Compose and Jetpack Compose (via AGP) are Gradle plugins. There's multiple things to set up.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by joakimtall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants