Skip to content

Instantly share code, notes, and snippets.

@landarskiy
Created November 15, 2022 10:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save landarskiy/f9626c81056362ba64a1417929f313ef to your computer and use it in GitHub Desktop.
Save landarskiy/f9626c81056362ba64a1417929f313ef to your computer and use it in GitHub Desktop.
class AndroidApplicationConventionPlugin : Plugin<Project> {
override fun apply(target: Project) {
with(target) {
with(pluginManager) {
apply("com.android.application")
}
extensions.configure<ApplicationExtension> {
configureAndroidCommon(this)
configureAndroidApplication(this)
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment