Skip to content

Instantly share code, notes, and snippets.

@landarskiy
Created November 15, 2022 10:50
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/65da3b154da2991740df0cbe714c0dbe to your computer and use it in GitHub Desktop.
Save landarskiy/65da3b154da2991740df0cbe714c0dbe to your computer and use it in GitHub Desktop.
internal fun Project.configureAndroidCommon(
extension: CommonExtension<*, *, *, *>,
) {
extension.apply {
compileSdk = 33
defaultConfig {
minSdk = 24
vectorDrawables {
useSupportLibrary = true
}
}
buildFeatures {
compose = true
aidl = false
buildConfig = false
renderScript = false
shaders = false
}
packagingOptions {
resources {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment