From 6b572b5d33d425dfd39f2a5497ee1db0b6449cd4 Mon Sep 17 00:00:00 2001 From: Natsu Date: Tue, 18 Jun 2024 22:01:07 +0700 Subject: [PATCH] chore: Update packaging options build.gradle --- app/build.gradle | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 4e822ed..06b9ce5 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -63,23 +63,13 @@ android { } } packagingOptions { - pickFirst '**/libxdl.so' - pickFirst '**/libshadowhook.so' - exclude 'gakumas-local/gakuen-adapted-translation-data/**' + jniLibs { + pickFirsts += ['**/libxdl.so', '**/libshadowhook.so'] + } } dataBinding { 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 {