mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2024-11-10 01:02:22 +01:00
f1d7217495
This commit allows reading and writing arbitrary files in an APK file. Additionally it allows deleting files from APK files. A `RawResourcePatch` class has been added which has access to `ResourceContext` but ReVanced Patcher will not decode APK resources. A regular `ResourcePatch` can read and write arbitrary files from an APK file, unless they are decoded to `PatcherConfig.apkFiles`. On attempt to get a file from `PatcherConfig.apkFiles` if the second parameter is true, it will read and write the raw resource file from the original APK to `PatcherConfig.apkFiles` if it does not exist. With this commit, many APIs have been deprecated as well, such as `DomFileEditor` and instead a `Document` has been added.
23 lines
No EOL
1.1 KiB
TOML
23 lines
No EOL
1.1 KiB
TOML
[versions]
|
|
android = "4.1.1.4"
|
|
apktool-lib = "2.9.1"
|
|
kotlin = "1.9.22"
|
|
kotlinx-coroutines-core = "1.7.3"
|
|
multidexlib2 = "3.0.3.r3"
|
|
smali = "3.0.4"
|
|
binary-compatibility-validator = "0.13.2"
|
|
xpp3 = "1.1.4c"
|
|
|
|
[libraries]
|
|
android = { module = "com.google.android:android", version.ref = "android" }
|
|
kotlin-reflect = { module = "org.jetbrains.kotlin:kotlin-reflect", version.ref = "kotlin" }
|
|
apktool-lib = { module = "app.revanced:apktool", version.ref = "apktool-lib" }
|
|
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }
|
|
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlinx-coroutines-core" }
|
|
multidexlib2 = { module = "app.revanced:multidexlib2", version.ref = "multidexlib2" }
|
|
smali = { module = "com.android.tools.smali:smali", version.ref = "smali" }
|
|
xpp3 = { module = "xpp3:xpp3", version.ref = "xpp3" }
|
|
|
|
[plugins]
|
|
binary-compatibility-validator = { id = "org.jetbrains.kotlinx.binary-compatibility-validator", version.ref = "binary-compatibility-validator" }
|
|
kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" } |