Commit graph

82 commits

Author SHA1 Message Date
oSumAtrIX
fec31f45da
chore: Add note 2024-02-14 01:14:28 +01:00
oSumAtrIX
7684b70324
build: Publish to GitHub Packages
Because Jitpack can not sign artifacts.
2024-02-14 01:12:54 +01:00
oSumAtrIX
98085d1d45
build(Needs bump): Sign publication artifacts 2024-02-13 05:17:15 +01:00
oSumAtrIX
f1d7217495
feat: Read and write arbitrary files in APK files
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.
2024-02-13 03:40:39 +01:00
oSumAtrIX
80407b6102
chore: Lint code 2023-11-26 05:57:41 +01:00
oSumAtrIX
0b04c73ac5
build: Bump Kotlin Gradle plugin version 2023-10-22 16:14:46 +02:00
oSumAtrIX
c38f0ef42a
build: Move subproject to root project 2023-10-14 19:30:10 +02:00
oSumAtrIX
4456031459
feat: Remove patch annotation processor
Unfortunately processing annotations required generating new classes which turned out to be quite cumbersome to work with, especially when trying to publish an API. Therefor, the patch annotation retention is now `RUNTIME`.

BREAKING CHANGE: Various patch constructor signatures have changed.
2023-10-14 19:29:23 +02:00
oSumAtrIX
cb5e39d73e
build: Publish artifacts on Jitpack 2023-10-09 14:42:20 +02:00
oSumAtrIX
86c1c9c772
build(Needs bump): Use correct Maven repository URL 2023-09-06 05:32:58 +02:00
oSumAtrIX
4dd04975d9
refactor: Move ReVanced Patcher to sub-project
This allows other sub-projects to exist.
2023-09-04 05:37:13 +02:00
oSumAtrIX
26b70554c4
build: use binary compatibility validator
This prevents releasing breaking changes accidentally.
2023-08-29 03:47:21 +02:00
oSumAtrIX
37abb2db99
build: package the Java sources 2023-08-26 19:10:29 +02:00
oSumAtrIX
ccccf5b1d2
build: migrate dependencies to version catalogs 2023-08-23 04:30:31 +02:00
oSumAtrIX
f7f4ba6c55
build: update dependencies 2023-08-23 03:36:48 +02:00
oSumAtrIX
88a703ce36
build: bump dependencies 2023-08-22 19:01:59 +02:00
oSumAtrIX
e7360a7692
build(Needs bump): Bump dependencies
This fixes an issue with a library not working on Android
2023-08-19 17:23:31 +02:00
oSumAtrIX
6b8977f178
refactor: improve structure and public API
This commit introduces a couple changes besides the refactor. Executing patches can be cancelled, multiple bundles loaded into the same class loader and `Patch.execute` does not have to return anymore.

BREAKING CHANGE: Various public APIs have been changed. The `Version` annotation has been removed. Patches do not return anything anymore and instead throw `PatchException`. Multiple patch bundles can now be loaded in a single ClassLoader to bypass class loader isolation.
2023-08-19 01:45:27 +02:00
oSumAtrIX
12c6c73de0
build: add mavenLocal to repositories 2023-08-16 16:53:47 +02:00
oSumAtrIX
433fe3af9f
build(Needs bump): Bump dependencies 2023-08-12 02:23:03 +02:00
oSumAtrIX
d5f89a903f
build(Needs bump)!: Bump dependencies
BREAKING CHANGE: This bump updates smali, a crucial dependency
2023-08-11 02:51:37 +02:00
oSumAtrIX
8df1155215
build(Needs bump): Bump compatibility 2023-08-03 20:14:01 +02:00
oSumAtrIX
aedf4aea08
build(Needs bump): Update dependencies 2023-08-03 04:15:09 +02:00
oSumAtrIX
90cb075a97
build(needs-bump): update dependencies 2023-07-26 06:28:47 +02:00
oSumAtrIX
a4a030f2b2
build: update gradle 2023-07-06 18:15:40 +02:00
oSumAtrIX
9c53877888
build: downgrade to JDK version 11
This is to properly support Android
2023-05-08 01:03:11 +02:00
oSumAtrIX
d83e9372bb
chore: update gradle and dependencies 2023-04-30 05:27:22 +02:00
oSumAtrIX
aa07f35f06
chore: bump dependencies 2023-04-03 03:04:05 +02:00
oSumAtrIX
77e0536838
build: update Kotlin to 1.8.10 2023-03-31 17:19:40 +02:00
oSumAtrIX
6bca3e2bb5
build: update dependencies 2023-01-17 23:57:19 +01:00
oSumAtrIX
a263fdfd41
fix: resolve failing builds
This updates dependencies, because the previous ones were missing or outdated.
2023-01-17 01:32:11 +01:00
oSumAtrIX
dd7dd38357
fix: update dependency app.revanced:multidexlib2 (#150)
This commit addresses https://github.com/revanced/multidexlib2/issues/2.
2023-01-15 04:06:43 +01:00
Canny
9f0a09a756
feat: make aaptPath nullable (#146) 2022-12-20 20:04:15 +01:00
oSumAtrIX
809862c997
build: update apktool-lib dependency 2022-09-23 06:20:00 +02:00
Sculas
25f74dc5e9
feat: SincePatcher annotation 2022-09-08 14:41:42 +02:00
Sculas
0e8446516e
build: add Kotlin Reflect 2022-09-07 20:52:05 +02:00
Sculas
a321b8971b
build: update Apktool to 2.7.0 2022-07-24 18:29:25 +02:00
Sculas
49970b5926
build: update Apktool to re-enable 9patch decoder 2022-06-28 19:45:45 +02:00
Sculas
e5ca86fac6
build: update Apktool to disable 9patch decoder
for real for real, this time
2022-06-28 00:36:50 +02:00
Sculas
494a9a09ac
build: update Apktool to disable 9patch decoder
for real, this time
2022-06-28 00:20:54 +02:00
Sculas
614e555f4c
build: update Apktool to disable 9patch decoder 2022-06-28 00:01:38 +02:00
oSumAtrIX
efa8ea1445 refactor: migrate from Signature to Fingerprint
BREAKING CHANGE: Not backwards compatible, since a lot of classes where renamed.
2022-06-26 15:10:54 +02:00
Sculas
b738dcd7ea
fix: dexlib must be propagated 2022-06-23 12:20:04 +02:00
Lucaskyy
e8488b3e86
revert "feat: use of java.util.logging.Logger"
This reverts commit 9c39c9efdb.
This reverts commit 8f66f9f606.
2022-06-22 15:03:30 +02:00
oSumAtrIX
8f66f9f606
feat: migrate logger to slf4j 2022-06-22 14:17:09 +02:00
oSumAtrIX
89bb43066b
build: use dependencies as implementations instead of apis 2022-06-22 02:54:23 +02:00
Lucaskyy
365e1d7a45
revert: propagate dependencies
guess it doesn't work when not propagating them
2022-06-21 20:50:00 +02:00
Lucaskyy
28d5468b07
build: do not propagate all dependencies 2022-06-21 20:29:37 +02:00
Lucaskyy
ab866bb8ef
fix: update apktool 2022-06-20 17:07:04 +02:00
Sculas
051afd98d0
fix: update apktool 2022-06-18 23:49:41 +02:00