mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
build: enable 'useLegacyPackaging' for :app
This commit is contained in:
@@ -81,6 +81,12 @@ fun Project.configureAndroidModule(
|
||||
configureCoreLibDesugaring(this, coreLibDesugDep)
|
||||
|
||||
if (":app" == project.path) {
|
||||
packagingOptions {
|
||||
jniLibs {
|
||||
useLegacyPackaging = true
|
||||
}
|
||||
}
|
||||
|
||||
flavorsAbis.forEach { (abi, _) ->
|
||||
// the common defaultConfig, not the flavor-specific
|
||||
defaultConfig.buildConfigField("String",
|
||||
|
||||
Reference in New Issue
Block a user