I would like to configure the compiseCompiler inside my Plugin but I am unable to access it.
I tried this way:
class AndroidApplicationComposeConventionPlugin : Plugin {
override fun apply(target: Project) {
target.run {
pluginManager.apply("temp.android.application")
val extension = extensions.getByType<ApplicationExtension>()
configureAndroidCompose(extension)
composeCompiler {
enableStrongSkippingMode = true
}
extensions.configure<ComposeCompilerExtension> {
}
}
}
}
but both blocks are red so I am unable to set things manually in my plugin.