From 84cc315541e0d318f6a55460faf7b421c9187395 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Tue, 5 Nov 2024 19:28:31 +0100 Subject: [PATCH] build(Needs bump): Bump dependencies --- gradle/libs.versions.toml | 8 ++++---- src/commonMain/kotlin/app/revanced/library/ApkUtils.kt | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index f3d1bab..6988866 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,15 +1,15 @@ [versions] -android = "8.5.1" +android = "8.5.2" bcpkix-jdk18on = "1.77" binary-compatibility-validator = "0.15.1" -core-ktx = "1.13.1" -guava = "33.0.0-jre" +core-ktx = "1.15.0" +guava = "33.2.1-jre" jadb = "1.2.1" kotlin = "2.0.20" kotlinx-coroutines = "1.8.1" kotlinx-serialization = "1.7.1" libsu = "5.2.2" -revanced-patcher = "20.0.0" +revanced-patcher = "21.0.0" [libraries] apkzlib = { module = "com.android.tools.build:apkzlib", version.ref = "android" } diff --git a/src/commonMain/kotlin/app/revanced/library/ApkUtils.kt b/src/commonMain/kotlin/app/revanced/library/ApkUtils.kt index a42cb80..63bc123 100644 --- a/src/commonMain/kotlin/app/revanced/library/ApkUtils.kt +++ b/src/commonMain/kotlin/app/revanced/library/ApkUtils.kt @@ -82,7 +82,7 @@ object ApkUtils { // Delete resources that were staged for deletion. if (resources.deleteResources.isNotEmpty()) { targetApkZFile.entries().filter { entry -> - resources.deleteResources.any { shouldDelete -> shouldDelete(entry.centralDirectoryHeader.name) } + entry.centralDirectoryHeader.name in resources.deleteResources }.forEach(StoredEntry::delete) } }