From 84131f26309a6bb99a8ac157ec10fe10e2cdad99 Mon Sep 17 00:00:00 2001 From: Natsu Date: Wed, 19 Jun 2024 03:55:16 +0700 Subject: [PATCH] chore: Replace deprecated function --- app/build.gradle | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 15e7622..f6fe7e8 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -51,11 +51,6 @@ android { composeOptions { kotlinCompilerExtensionVersion '1.5.1' } - packaging { - resources { - excludes += '/META-INF/{AL2.0,LGPL2.1}' - } - } externalNativeBuild { cmake { path file('src/main/cpp/CMakeLists.txt') @@ -63,6 +58,9 @@ android { } } packagingOptions { + resources { + excludes.add('/META-INF/{AL2.0,LGPL2.1}') + } jniLibs { pickFirsts += ['**/libxdl.so', '**/libshadowhook.so'] }