Template
mirror of
https://github.com/MorpheApp/morphe-patches-template.git
synced 2026-12-01 00:19:34 +00:00
chore: Check the whole patches file against the Android API
Bundled dependencies were not checked, so a library that uses AWT in its signatures passed the build and then broke loading in Manager. Run D8 at min API 26 with class file output on the patches file and check the result, so bundled dependencies are included and methods D8 backports, such as List.of() and Optional.isEmpty(), are not flagged. Use the gummy-bears API 26 signature.
This commit is contained in:
1 parent
1d5c5702cc
commit
033a0e1709
2 files changed
+68
-7
No files matched your search
@@ -4,11 +4,11 @@ morphe-patcher = "2.5.0"
|
||||
smali = "5eaff5a2c9"
|
||||
gson = "2.15.0"
|
||||
animalsniffer = "2.0.1"
|
||||
android-api-signature = "8.0.0_r2"
|
||||
gummy-bears = "0.16.0"
|
||||
|
||||
[libraries]
|
||||
gson = { module = "com.google.code.gson:gson", version.ref = "gson" }
|
||||
android-api-signature = { module = "net.sf.androidscents.signature:android-api-level-26", version.ref = "android-api-signature" }
|
||||
android-api-signature = { module = "com.toasttab.android:gummy-bears-api-26", version.ref = "gummy-bears" }
|
||||
# Gradle plugins adds the dependency during build, this declaration is here only for dependabot to provide updates.
|
||||
#noinspection UnusedVersionCatalogEntry
|
||||
morphe-patcher = { module = "app.morphe:morphe-patcher", version.ref = "morphe-patcher" }
|
||||
|
||||
Reference in new issue
Block a user