Where is the repository for compose desktop? Is it...
# compose-desktop
a
Where is the repository for compose desktop? Is it Open Source? Can I contribute?
a
a
Yeah, that one I know about. All the interesting stuff is in git submodules though.
Are the docs at https://github.com/JetBrains/compose-jb/tree/master/compose up-to-date? Do I really have to use an exact Canary version of Android Studio?
k
The development happens in https://github.com/JetBrains/androidx and then merged to the main AndroidX repo
compose-jb
is for samples and documentation
a
Got it, thanks!
Seems like JetBrains/androidx only works in the context of compose-jb, no? I checked out JetBrains/androidx and it complained about missing git roots and gradle at ../../ (outside the repository directory).
Following the instructions at https://github.com/JetBrains/compose-jb/tree/master/compose/README.md gets Android Studio stuck forever “Installing” when I change the Android SDK path to
compose/prebuilts/fullsdk-darwin
nm, I may have changed it in the wrong place
Hmm, getting
Copy code
Cannot convert string value 'UNIFIED_TEST_PLATFORM' to an enum value of type 'com.android.builder.model.AndroidGradlePluginProjectFlags$BooleanFlag' (valid case insensitive values: APPLICATION_R_CLASS_CONSTANT_IDS, TEST_R_CLASS_CONSTANT_IDS, TRANSITIVE_R_CLASS, JETPACK_COMPOSE, ML_MODEL_BINDING)
when trying to sync gradle on the support project
Spent half a day trying to set up a local environment to work on desktop compose. If any JetBrain devs are here, and you’re interested in outside contributions, better documentation, or easier setup would really help…
Here’s what I’ve achieved so far: 1. Checked out https://github.com/JetBrains/compose-jb 2. Forked https://github.com/JetBrains/androidx 3. Edited
.gitmodules
to point
compose/frameworks/support
to my fork of androidx. 4.
git submodule update --init --recursive
5. Followed the instructions in
compose/README.md
6. Now I have Android Studio 2021.1.1.8 running with the
compose
directory open as a project, but the project doesn’t appear to be configured (no modules, source roots etc.)