Conversation
This commit upgrades the Gradle version to 9.0.0. Additionally, it refactors the build scripts in `magisk-loader` and `apache` modules to use the `tasks.register` API for task creation. The `androidResources` build feature is now explicitly disabled using the new syntax in `dex2oat` and `core` modules. To fix the gradle-lint issues, the `androidx.startup` dependency is added to the `app` module.
|
Since the build failed, it is better to revert the NDK version. Alternatively, you may update to latest NDK rc with careful tests. |
|
Moreover, run task |
|
It remains to update the gradle wrapper. |
|
Here is the result of android {
lint {
baseline = file("lint-baseline.xml")
}
} |
Currently all we can do is suppress this warning |
|
I tried the lowest version 8.13, and it was the same. If it was any lower, I would have to lower the AGP. After lowering the AGP, some problems occurred. |
|
I will merge it when my Arch Linux includes gradle 9.0 into its update source list. |
| androidx-recyclerview = { module = "androidx.recyclerview:recyclerview", version = "1.4.0" } | ||
| androidx-swiperefreshlayout = { module = "androidx.swiperefreshlayout:swiperefreshlayout", version = "1.2.0-beta01" } | ||
| #noinspection GradleDependency | ||
| androidx-startup = { module = "androidx.startup:startup-runtime", version = "1.1.1" } |
|
|
||
| buildFeatures { | ||
| androidResources = false | ||
| android.androidResources.enable = false |
There was a problem hiding this comment.
This is a mistake, see https://github.com/JingMatrix/NeoZygisk/blob/86b67ab15c0f417369ba75540046651126f40663/loader/build.gradle.kts#L43-L52 for the corerct fix
This Pull Request Update Gradle version to 9.0.0, fixed the issue where some syntax was unavailable on 9.0.0
Also downgrade NDK version to 28.2, and fix gradle-lint issues
@JingMatrix