优化webFile导入

This commit is contained in:
Xwite
2023-03-07 14:43:26 +08:00
parent 6fa331c928
commit ca3f6e26f4
9 changed files with 150 additions and 265 deletions
+7
View File
@@ -96,6 +96,7 @@ android {
}
flavorDimensions.add("mode")
productFlavors {
app {
dimension "mode"
@@ -107,6 +108,7 @@ android {
manifestPlaceholders.put("APP_CHANNEL_VALUE", "google")
}
}
compileOptions {
// Flag to enable support for the new language APIs
coreLibraryDesugaringEnabled true
@@ -115,6 +117,11 @@ android {
targetCompatibility JavaVersion.VERSION_11
}
packagingOptions {
// fix found with path 'META-INF/INDEX.LIST' from inputs
exclude 'META-INF/INDEX.LIST'
}
sourceSets {
// Adds exported schema location as test app assets.
androidTest.assets.srcDirs += files("$projectDir/schemas".toString())