Repository navigation
Conversation
- 替换 apkbuilder 内置 aapt2 为 16KB 对齐版本(ELF PT_LOAD p_align 0x1000 -> 0x4000),供 16KB page size 设备上打包 APK 使用 - native 依赖换成 16KB 对齐版本:tesseract4android 4.1.1 -> 4.8.0 (libtesseract/libleptonica/libjpeg/libpng 由 0x1000 升到 0x4000), 新增 camera-core 1.5.3、mlkit barcode-scanning 17.3.0 - compileSdk / targetSdk / buildTools 升级到 35 / 35 / 35.0.0 - 老编辑器 AppBarLayout 补 fitsSystemWindows,Web 编辑器 Compose 内容 补 enableEdgeToEdge + systemBarsPadding,适配 targetSdk 35 强制边到边 - 适配 compileSdk 35:GlobalAppContext 改用 getApplicationInfo 获取 ApplicationInfo,规避 PackageInfo.applicationInfo 可空导致的类型错误
- 用 Gradle 原生 Task 替换 Exec,声明 inputs/outputs 支持增量构建 - inputs 排除 dist/ 与 node_modules/,避免任务自身产物造成自反馈, 导致任务永远无法 UP-TO-DATE - 输出只同步 *.js;preBuild 依赖 buildJsModule,编译前自动构建 JS 产物
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
lib_bin_aapt2.so,并升级带 native 库的依赖(tesseract4android 4.8.0、camera-core 1.5.3、ML Kit 条码扫描 17.3.0),其.so的加载段对齐由 4KB 提升到 16KB。compileSdk/targetSdk从 34 提升到 35,build tools 升至 35.0.0。构建
buildV6Api/buildV7Api任务支持增量构建。