Commit Graph

114 Commits

Author SHA1 Message Date
d499819ba0 app: ignore androidx meta prop file 2025-05-02 16:40:37 -07:00
8c972dcf34 app: target sdk 36 2025-03-26 13:15:12 -07:00
1f162b819d Update ONDK r29.0 2025-03-19 10:55:08 -07:00
27fd79176a Update ONDK to r28.3 2025-03-06 17:41:28 -08:00
6c05f2ae85 Test processing Shamiko module zip 2025-02-16 16:20:09 -08:00
ad95e8951b Skip download in lsposed setup test
Download the zip during build time
2025-02-16 01:26:40 -08:00
110dd4a8b9 Update dependencies 2025-01-19 11:55:44 +08:00
32faa4ced6 Redesign test APK architecture
The test APK and the main APK share the same process and classloader,
and in the non-hidden case, the test APK's classes take precedence over
the ones in the main APK. This causes issues because the test APK and
main APK share some dependencies, but don't always use the same
version. This is especially problematic for the Kotlin stdlib and
AndroidX dependencies.

The solution here is to rely on R8's obfuscation feature and repackage
all potentially conflicting classes into a separate package in the test
APK. To ensure that the test classes are always using the same classes
as the main APK, we have to directly implement all tests inside the main
APK, making the test APK purely a "test runner with test dependencies".

As a result, the test APK can only be used when built in release mode,
because R8 no longer allow class obfuscation to be enabled when building
for debug versions.
2024-12-25 20:17:57 -08:00
3414415907 Support zip files with unsupported compresssion method 2024-12-12 02:50:19 -08:00
10cd13bf80 Update ONDK r28.1 2024-12-09 18:26:39 -08:00
df6b808f49 Cleanup DesugarClassVisitorFactory 2024-12-03 19:52:39 -08:00
06616659b8 Only desugar ZipEntry's methods 2024-12-02 19:55:28 -08:00
b32d7bfafd Update gradle version 2024-11-21 21:05:35 -08:00
082330808f Fix building APK 2024-11-19 20:25:10 -08:00
024da05888 Move several stuff into buildSrc 2024-11-09 20:08:12 -08:00
377b6d0cc2 avoid desugar the Desugar class 2024-11-09 19:41:06 -08:00
f4502f8be8 Add our own API desugaring
Fix #8452
2024-10-29 12:13:22 -07:00
44fb7dbcbe Update Busybox
Fix #8403
2024-10-06 01:47:13 -07:00
a9f8c20703 Upgrade AGP 2024-09-05 21:50:56 -07:00
dcd3bc58a3 app: target api 35 2024-09-05 21:50:46 -07:00
c578cccfd5 Update to ONDK r27.4 2024-08-11 04:16:19 -07:00
1539cfe888 Support setting custom ABI list
Also stop building riscv64 by default
2024-08-01 14:33:08 -07:00
33aebb5976 Stop embedding executables 2024-07-24 22:49:48 -07:00
ef81cdab4f Prebuild Busybox
Prebuild with tools in ndk-box-kitchen
2024-07-17 02:58:31 -07:00
b38ab2a7d6 Use K2 to compile buildSrc
Make all Kotlin source code build with K2.
K2 seems to have bugs with lazy property assignment, revert it to set().
2024-07-12 15:27:04 -07:00
a97191052b Upgrade gradle 2024-07-12 13:46:06 -07:00
ea4cabdfc5 Use simple property assignment 2024-07-11 22:28:59 -07:00
0185ddf577 Fix building on higher version of jdk 2024-07-11 22:28:59 -07:00
6b81716440 Update stub implementation 2024-07-11 02:44:38 -07:00
a6e65f9a7e Fix building release builds 2024-07-06 01:55:09 -07:00
b168163ef0 Move :stub to :app:stub 2024-07-04 00:21:34 -07:00
3e38b8fed1 Separate core codebase into its own module
- Separate UI specific code and resources outside of the core
  application logic
- Allow most of the code to move forward and use KSP for annotation
  processing and isolate rotton code that is stuck with databinding
- Make full UI rewrite more feasible
2024-07-04 00:02:42 -07:00
a07b9315a5 Add riscv64 support 2024-07-02 14:34:22 -07:00
59f40d5fe5 Move manager.sh to app_functions.sh 2024-07-01 18:42:05 -07:00
23ed275614 Update to ONDK r27.2 2024-06-18 14:34:30 -07:00
08ad0e74dd Upgrade deps
Co-authored-by: vvb2060 <vvb2060@gmail.com>
2024-06-06 21:11:52 -07:00
b678afa4b6 Update to ONDK r27.0
Co-authored-by: LoveSy <shana@zju.edu.cn>
2024-04-26 03:09:44 -07:00
fb5ee86615 Install one single ABI in ramdisk 2024-03-31 22:01:22 -07:00
7abe635de9 fix: AGP 8.3.X 2024-03-22 17:02:18 -07:00
19ea25a9d0 Upgrade AGP 2024-03-08 17:12:46 -08:00
dbf6e40dfe Ensure stub APK is expected
Fix #7884
2024-03-08 17:09:54 -08:00
7e9abe6e90 Update ONDK 2024-02-22 20:58:40 -08:00
d47e70cfaa Fix native symbol strips
`ndkVersion` is also needed by app for striping native symbols.
Set it in `setupCommon` instead.
2023-12-04 00:37:09 +08:00
28770b9a32 Support baseline profiles 2023-10-26 15:56:51 -07:00
09bb2fe8dc Update dependencies 2023-10-25 14:58:02 -07:00
877aeb66cb Upgrade to Gradle 8.3 2023-09-14 13:16:59 -07:00
93876b5fd3 Update dependencies, AGP, and SDK level 2023-08-11 09:38:59 -07:00
f33343b4e6 Remove unused code and logic 2023-07-17 18:58:48 -07:00
468f3efb13 Update dependencies 2023-04-13 14:19:34 -07:00
b696dae808 Specify foregroundServiceType for DownloadService 2023-04-02 02:20:49 -07:00