Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
class AndroidComposeConventionPlugin : Plugin<Project> {
override fun apply(target: Project) {
with(target) {
extensions.findByType(ApplicationExtension::class.java)?.apply {
configureAndroidCompose(this)
}
extensions.findByType(LibraryExtension::class.java)?.apply {
configureAndroidCompose(this)
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment