Skip to content

Instantly share code, notes, and snippets.

@landarskiy
Created November 15, 2022 12:17
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/9dbe5b59dea94f9f4d981cca7f98de65 to your computer and use it in GitHub Desktop.
Save landarskiy/9dbe5b59dea94f9f4d981cca7f98de65 to your computer and use it in GitHub Desktop.
class AndroidLibraryConventionPlugin : Plugin<Project> {
override fun apply(target: Project) {
with(target) {
with(pluginManager) {
apply("com.android.library")
}
extensions.configure<LibraryExtension> {
configureAndroidCommon(this)
configureAndroidLibrary(this)
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment