-
-
Save landarskiy/65da3b154da2991740df0cbe714c0dbe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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