If BOM is the recommended way to go, why doesn't a...
# compose
t
If BOM is the recommended way to go, why doesn't a new Compose Activity just put that in there?
🤔 1
c
I just don't think that the Android Studio new project wizard samples are updated all that frequently. I'd probably submit a bug for them to move over to the bom though. 😅
m
@Colton Idle While we’re at it, can we ask them to use the kotlin gradle dsl?
I also wish that they would export the BOM as a version catalog as well. I know there’s a 3rd party gradle plugin to import a bom and expose it as a version catalog, but i’d prefer they just provide a version catalog out of the box.
c
i think kotlin gradle dsl used to be an option in one of the earlier canaries (like 6 months ago) but then they removed it because they said kts file autocompletion wasn't good enough but once it gets better they will give that option back.
c
BOM is used in latest templates in Flamingo going forward. For many reasons we can’t backport template changes easily
KTS for Gradle is likely to be an option in Giraffe. We were waiting for KTS editing to be faster and a better experience, which it has with changes from 22.3.
Version catalog in templates is also lagging as well since IDE support is behind also. Once it’s better supported in Studio, we will likely update the templates
m
@Colton Idle I've had no issues at all with the code completion using the kotlin dsl. Now i will admit that sometimes the documentation is lacking in how to do certain things that were pretty easy in groovy. I will agree that it can be a bit laggy, but i'd rather use kts since i can at least get (mostly) real time feedback on whether my gradle file compiles or not.