I am working on a simple multi module library but ...
# compose
y
I am working on a simple multi module library but I get
Backend Internal error: Exception during IR lowering
on the code that worked fine on my app module.
This is my composable:
Copy code
@Composable
fun YasanBrandingFooter(
    modifier: Modifier = Modifier,
    topSpacerSize: Dp = grid(8),
    bottomSpacerSize: Dp = grid(8),
    logoHeight: Dp = 48.dp,
    crossFade: Boolean = true
) {

    Column(
        modifier = modifier,
        horizontalAlignment = Alignment.CenterHorizontally
    ) {
        Spacer(Modifier.requiredHeight(topSpacerSize))
        Image(
            rememberImagePainter(
                data = R.drawable.ic_yasan_logo_text2_color,
                builder = {
                    crossfade(crossFade)
                }
            ),
            contentDescription = null,
            modifier = Modifier.requiredHeight(logoHeight)
        )
        Spacer(Modifier.requiredHeight(bottomSpacerSize))
    }


}
My library only has these dependencies
Copy code
// Compose
implementation "androidx.compose.ui:ui:$compose_version"
implementation "androidx.compose.material:material:$compose_version"

// Coil
implementation("io.coil-kt:coil-compose:$coil_version")
Full log
a
Are you enabling compose compiler plugin by specifying
buildFeatures.compose = true
?
👀 1
🙏🏻 1
y
Oh right! Thanks its now fixed!
👍 1