Closed ColtonIdle closed 2 months ago
TBD with wizard
@ColtonIdle, answering the forth point. In template version is set in top-level build.gradle, so there is no need to have it in each module. We will modify wizard to support it the same way, as it is move convenient.
Thanks for following up on my feedback! Just trying to make it as easy for a newcomer to understand what's going on =)
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
I'm trying to move my existing android app to be multiplatform. I've been using the multiplatform template here as a reference AND the multiplateform code generated from the intellij wizard... but there are a few differences that I just don't understand... and I'm not even sure if they're intentional or mistakes.
I understand that logically the template on github should be more up to date, but it seems more cluttered than the one from the generated wizard project. Personally. I'm so lost here in terms of "what is actually needed to use jetbrains compose" that I don't even want to move any further. Can someone clarify?
Mostly a nitpick, but I'd recommend removing System.getenv("COMPOSE_TEMPLATE_COMPOSE_VERSION") from root build.gradle.kts. Is that really needed in a template project? I just feel like it confused me more. "Did I miss documentation where I should be setting an ENV var somehwere?"
Okay. This issn't a difference, but again a nitpick common/build.gradle.kts contains android dependencies and android/build.gradle.kts contains android dependencies
and
As a first time user of multiplatform compose... this is confusing. I can remove the ones from common and drop them into the project directly and everything still works. It seems like common android deps is a superset. But again. As a new user (hence using a template) this is confusing. Am I only supposed to put certain dependencies in certain places? I would suggest simplifying this as much as possible. At the very least. add a comment like brand new android projects.
New android projects have a root build.gradle with this warning message
wizard generated project shows this
but github template shows this
Should I be declaring versions after
id("org.jetbrains.compose")
or not?I know some of these are a bit nitpicky, but I care a lot about compose desktop and multiplatform and I just don't want new users (and new people that want to adopt compose into existing projects) to run into the same issues or questions as me. Thanks