Commit Graph

59 Commits

Author SHA1 Message Date
JingMatrix 0a935413fc Adjust proguard for Android R8
1. Use JDK 21
2. Update android plugins for JDK 21
3. Update gradle wrapper

The new R8 engine will change more class names than before, we thus
need to save those needed ones.
2024-05-18 23:48:43 +02:00
vvb2060 348f04905f
Show packagename to let user know which app is being used 2023-08-05 02:59:09 +08:00
LoveSy fab404ea18
Remove experimental enableNewResourceShrinker flags (#2500)
Starting with AGP 8.0 enableNewResourceShrinker enforced to true

Co-authored-by: Howard Wu <HowardWu20@outlook.com>
2023-04-18 19:39:29 +08:00
LoveSy b277416c1d
Upgrade AGP 2023-04-15 23:01:08 +08:00
LoveSy 7112bb5a91
Fix `isFirstPackage` (#2424) 2023-03-06 12:50:48 +00:00
LoveSy b069da0323 Refine gradle scripts 2023-02-26 16:48:49 +08:00
LoveSy d671dc535e enable configuration cache 2023-02-26 16:48:49 +08:00
南宫雪珊 3d11c2f0f7
Make dex2oat wrapper more compatible (#2372) 2023-02-19 21:24:54 +08:00
Howard Wu 760f0bb0eb
All flavors require Magisk 24.0+ (#2368)
Magisk 23 is missing some SELinux policies

This fixes a permissions issue with the Dex2Oat wrapper

```
02-04 23:45:00.212  4396  4396 E LSPosedDex2Oat: failed to connect to /dev/c951326ba095346b/dex2oat.sock failed with 13: Permission denied
02-04 23:45:00.209  4396  4396 W dex2oat64: type=1400 audit(0.0:8403): avc: denied { write } for name="dex2oat.sock" dev="tmpfs" ino=26722 scontext=u:r:installd:s0 tcontext=u:object_r:magisk_file:s0 tclass=sock_file permissive=0
02-04 23:45:00.213  1510  3805 V installd: DexInv: --- END '/data/app/~~M2S57MD185N1tyyKQy9PKw==/com.google.android.gm-7Q68xrTQSACXisBuDI6oBg==/base.apk' --- status=0x 100, process failed
02-04 23:45:00.213  1510  3805 E installd: Dex2oat invocation for /data/app/~~M2S57MD185N1tyyKQy9PKw==/com.google.android.gm-7Q68xrTQSACXisBuDI6oBg==/base.apk failed: unspecified dex2oat error (256)
```

Additional rules first appeared in Magisk version 24000
2c44e1bb93
2023-02-06 00:19:55 +08:00
南宫雪珊 46295297d7
Update kotlin version (#2332) 2023-01-16 02:02:44 +08:00
LoveSy 5d6c587efb
Upgrade AGP (#2323) 2023-01-15 09:52:45 +00:00
LoveSy 7196049e3d
Update deps (#2217) 2022-11-10 09:54:18 +00:00
LoveSy 82bc5cab0d
Update deps (#2170) 2022-10-13 16:54:25 +00:00
LoveSy 65136dc5ff
Update AGP and LSPlant (#2136) 2022-09-19 07:59:03 +00:00
LoveSy 9db3fb2239
Update deps (#2116)
Fix missing button colors
Co-authored-by: Howard Wu <40033067+Howard20181@users.noreply.github.com>
2022-09-14 11:45:57 +00:00
LoveSy deb39ee1db
Update gradle and AGP (#2073) 2022-08-13 16:01:11 +00:00
LoveSy 22137c266e
Update deps (#2002) 2022-06-22 14:49:42 +00:00
Nullptr d36d284f39
Separate InitArtHooker and InitHooks (#1965) 2022-05-27 14:53:07 +00:00
LoveSy e3b96ebb92
Update AGP (#1941) 2022-05-15 14:08:08 +08:00
Howard Wu 1554ed08a8
Fix a ui bug (#1827) 2022-04-10 00:12:44 +08:00
LoveSy 6f48c663db
Refactor some gradle (#1752) 2022-03-13 07:23:04 +08:00
Nullptr 1f5dfbc1b9
[daemon] Only package needed resources (#1508)
* [skip ci] Fix reRunDaemon task

* [daemon] Only package needed resources

* Shrink resources
2021-12-30 17:31:34 +00:00
LoveSy 1588d6160c
Disable new resource shinker to avoid string strip (#1160) 2021-09-23 14:45:50 +00:00
tehcneko e558d046e6
Enable R8 fullMode (#992) 2021-08-24 12:52:43 +08:00
残页 476d4df393
Revert "Enable R8 full mode" (#983)
Close #982 . This reverts commit 1c73adf.
2021-08-23 09:48:29 +08:00
tehcneko 1c73adf4dd
Enable R8 full mode 2021-08-22 22:47:16 +08:00
tehcneko ddcbd5c05a
[app] Migrate to Non-Transitive R Classes (#974)
* [app] Migrate to Non-Transitive R Classes

* [app] Remove unused resources
2021-08-22 06:24:33 +00:00
vvb2060 4f3a615ba9
[app] testOnly (#873) 2021-08-07 17:52:33 +00:00
LoveSy 49163768d6
[core] no more testOnly (#871) 2021-08-07 14:22:21 +00:00
vvb2060 ca91e87aeb
Clean code (#863) 2021-08-07 10:10:34 +08:00
LoveSy 93e4bb9349
[gradle] misc changes (#839) 2021-08-03 16:05:05 +08:00
vvb2060 6d998fcc39
[app] Fix app installation (#562) 2021-05-11 08:57:08 +00:00
tehcneko 7139c3f11f
[app] Added option to disable forced display of the application launcher icon on Android 10+ (#541)
* [core] Grant android.permission.WRITE_SECURE_SETTINGS

* Disable jetifier

* [app] Added option to disable forced display of the application launcher icon on Android 10+
2021-05-06 12:27:38 +00:00
LoveSy 476bd8f7c2
[gradle] Update AGP (#528) 2021-05-01 15:38:40 +00:00
tehcneko 445b87711f
Update android gradle plugin (#466) 2021-04-07 13:18:52 +08:00
vvb2060 8813122186
Save resource path shortening map (#360) 2021-03-15 17:04:02 +08:00
vvb2060 8e86ace802
Upgrade to AGP 7, ready to use Java 11 (#261)
* Update gradlew

./gradlew wrapper --gradle-version 6.8.3

* Fix line separator

* Fix build

Co-authored-by: tehcneko <7764726+tehcneko@users.noreply.github.com>
2021-03-03 16:35:50 +00:00
LoveSy 5b49351b7e
[gradle] kotlinfy (#240) 2021-03-02 02:55:15 +08:00
Wang Han c915e8de26
Bump version to v1.1.0 (#230) 2021-02-28 07:22:38 +00:00
tehcneko d1867122d0
[core] Enable optimize (#205)
* [core] Load module with DelegateLastClassLoader

* [core] Drop support for API26

* [core] Enable optimize

* [core] Update proguard rules

* [core] Enable obfuscation
2021-02-26 23:45:19 +08:00
LoveSy 14b10e92d1
Bump New Ver (#204) 2021-02-26 08:22:56 +00:00
tehcneko 128f3d8937
[core] [app] Filter out apps without any process for the scope list (#181)
* Filter out apps without any process for the scope list

* Bump ver

Co-authored-by: LoveSy <shana@zju.edu.cn>
2021-02-23 14:28:13 +00:00
tehcneko 623ccbf0db Bump version 2021-02-22 19:56:18 +08:00
LoveSy a652a81201 Use setStaticField instead 2021-02-14 02:31:19 +08:00
LoveSy 499b3a97a8 Bump new ver 2021-02-06 15:12:40 +08:00
tehcneko 5ce10caed6 Specify build tools version 2021-02-01 14:00:50 +08:00
tehcneko 7be4e66b98 Add support for recommended scope 2021-01-30 21:56:15 +08:00
kotori0 ffb83c0ba8
Merge remote-tracking branch 'app/master' 2021-01-25 20:55:14 +08:00
NekoInverter d6fc940f80
Use AndroidX 2021-01-25 20:38:52 +08:00
kotori0 b8cd073050 Upgrade ndk to 22.0.7026061 2020-12-18 01:14:37 +08:00