Colton Idle
11/17/2020, 9:39 PMBryan Herbst
11/17/2020, 9:44 PMsettings.gradle.kts
, backed by a boolean Gradle property. We also have a separate Gradle property for building with AGP 4.2 instead of 4.1, so you need both set to do any Compose work in our codebase.
The biggest downside is that Compose is not enabled by default- theoretically this could open the door to unknowingly breaking our Compose module, but since none of our production modules depend on Compose that hasn’t been a problem yet.
Most of our engineers are still working in AS 4.1 without any Compose though, so this keeps them happily working without any disruption.