Has anyone seen this issue when adding compose dep...
# compose
r
Has anyone seen this issue when adding compose dependencies : "The consumer was configured to find a runtime component, preferable optimized for Android as well as com.android.build.api.attributes.BuildTypeAttr with value debug..." " none of the consumable configuration have attributes" ?
l
That usually means you are applying a dependency to an android source set that doesn’t support android. Which dependency causes this?
r
Compose:ui
l
What version are you trying to add? Are you using Jetpack compose or compose-jb?
r
1.3.2
Compose-jb?
l
Compose-jb is the multiplatform fork Jetbrains is building.
r
Oh, no just compose
Not a multiplatform proj
Do you know if there is a work around for this issue. It is in a android library module
l
compose:ui 1.3.2 should be out and usable now. Have you tried using the BoM? I think they're going to start splitting the versions up for the different artifacts, so the BoM should make this easier.
r
Same issue with the BOM .
It looks like a missing variant issue, no?
l
Possibly. It seems like it's looking for debug, which is a common variant. Can you share your build gradle?
r
Nah, it's a private repo. I know there is a missingDimensionStratgey for issues like this, just not to clear how to set it up
But maybe your on to something with your original comment.imma test that theory by adding it to a specific non android module
Let me see if I can reproduce the exact same error