bazelbuild / bazelbuild/rules_android
Use new JVM Resource compiler
- Dominant language
- Java
- Stars
- 203
- Forks
- 95
- PR merge metrics
- No merged PRs in 30d
Description
Supported in AGP 4.2, compiles raw XML resources to intermediate flat files.
https://developer.android.com/studio/preview/features/#resource-compiler
"""potentially improving build performance, especially on Windows machines."""
Source code (entry point) is here: https://android.googlesource.com/platform/tools/base/+/studio-master-dev/build-system/aaptcompiler/src/main/java/com/android/aaptcompiler/ResourceCompiler.kt#61
Latest maven artifact: com.android.tools.build:aaptcompiler:4.2.0-alpha07
The API takes a File object. Interesting to see if it could be adapted to read resources also directly from zip files (ZipEntry) avoiding need to explode aar files for resource compilation.
Contributor guide
Assessment
This issue has not been assessed yet.