1 个仓库
Plugins and utilities that transform Android bytecode to ensure compatibility across different OS versions.
Distinct from Android Bytecode Shrinkers: Candidates focus on shrinking or manifesting, not the functional transformation of bytecode for compatibility.
Explore 1 awesome GitHub repository matching mobile development · Android Bytecode Compatibility Tools. Refine with filters or upvote what's useful.
gradle-retrolambda 是一个 Gradle 插件和字节码转换器,旨在让旧版 Java 和 Android 运行时环境能够使用现代 Java Lambda 表达式。它作为一个回溯移植(backporting)工具,确保现代函数式编程语法与旧版虚拟机保持兼容。 该项目通过转换已编译的类文件,使其兼容 Java 6 和 7 环境。这使得在必须保持与旧版 API 级别和旧款 Android 设备兼容的项目中,也能使用现代 Java 特性。 该工具集成在 Gradle 构建自动化流程中,通过编译后转换来修改二进制输出。它利用字节码层面的脱糖(desugaring)技术,将 Lambda 表达式转换为匿名内部类,并生成兼容的运行时桥接代码。
Gradle extension that ensures modern Java source code runs on older Android devices by transforming lambda expressions.