1
0

chore: Update packaging options build.gradle

This commit is contained in:
Natsu 2024-06-18 22:01:07 +07:00
parent 426d5d8abd
commit 6b572b5d33
Signed by: NatsumeLS
GPG Key ID: 6DB67FB460CF46C6

View File

@ -63,23 +63,13 @@ android {
} }
} }
packagingOptions { packagingOptions {
pickFirst '**/libxdl.so' jniLibs {
pickFirst '**/libshadowhook.so' pickFirsts += ['**/libxdl.so', '**/libshadowhook.so']
exclude 'gakumas-local/gakuen-adapted-translation-data/**' }
} }
dataBinding { dataBinding {
enable true enable true
} }
applicationVariants.configureEach { variant ->
variant.mergeAssetsProvider.configure { mergeAssetsTask ->
mergeAssetsTask.doLast {
delete(fileTree(dir: mergeAssetsTask.outputDir, includes: ['gakumas-local/gakuen-adapted-translation-data/**',
'gakumas-local/GakumasPreTranslation/**',
'gakumas-local/raw/**']))
}
}
}
} }
dependencies { dependencies {