Zoltan Demant
02/05/2024, 7:11 AMZoltan Demant
02/05/2024, 7:14 AMkotlin {
sourceSets.commonMain.dependencies {
// Brings in M3 from BOM, where loaders crash :(
implementation(compose.material3)
}
sourceSets.androidMain.dependencies {
// This.. works?
implementation("androidx.compose.material3:material3:1.2.0-rc01")
}
}
I guess Id run into binary compatibility issues (if any...) by doing this?Joel Denke
02/05/2024, 7:49 AMZoltan Demant
02/05/2024, 7:55 AMcompose.material3
syntax was their way of uniting the dependencies between platforms .. similar to what a BOM acheives.
Am I right thinking that this will break (on Android) if theres a breaking change between releases? E.g. commonMain Text composable expects TextAlign.Unspecified, whereas that doesnt exist in M3 yet (I know this isnt the case.. just cant think of a better example 😅).Joel Denke
02/05/2024, 8:04 AMJoel Denke
02/05/2024, 8:08 AMJoel Denke
02/05/2024, 8:10 AMZoltan Demant
02/05/2024, 8:38 AMEnol Simón
02/05/2024, 9:02 AMeygraber
02/05/2024, 1:19 PM