State of Jetpack Compose for custom libraries?

State of Jetpack Compose for custom libraries?

So I recently saw this guide: Jetpack Compose for Non UI – Tree construction and source code generation, and it got me interested in trying out compose for some of my own projects.

However, I’m having issues with setting up my own project dependencies now. Perhaps it’s because of the name overlap with all the Compose UI frameworks, but I can’t seem to find how to set up just the compiler, without any of the UI libraries.

I’ve had a look at mosaic, a tool for console UI built on Compose, and it seems to do pretty hacky stuff to set up these dependencies. It’s all been huge turn-off for my project, and I’m just wondering I’m overlooking something, or if there’s a reason things are the way they are? Is the core of Jetpack Compose just this new/experimental?

submitted by /u/lokigast
[link] [comments]