Gradle Management: Android Library Compose Convention Plugin - devrath/RunTracer GitHub Wiki
- Create the plugin below
- Also apply the library to get inherited
apply("runtracer.android.library")
class AndroidLibraryComposeConventionPlugin : Plugin<Project> {
override fun apply(target: Project) {
target.run {
pluginManager.run {
apply("runtracer.android.library")
}
val extension = extensions.getByType<LibraryExtension>()
configureAndroidCompose(extension)
}
}
}