Skip to content

Instantly share code, notes, and snippets.

@landarskiy
Created Nov 15, 2022
Embed
What would you like to do?
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