awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
evant avatar

evant/gradle-retrolambda

0
View on GitHub↗
5,258 stars·442 forks·Java·Apache-2.0·4 vues

Gradle Retrolambda

gradle-retrolambda est un plugin Gradle et un transformateur de bytecode conçu pour permettre l'utilisation des expressions lambda Java modernes dans les environnements d'exécution Java et Android hérités. Il fonctionne comme un outil de backporting qui garantit que la syntaxe de programmation fonctionnelle moderne reste compatible avec les anciennes machines virtuelles.

Le projet transforme les fichiers de classe compilés pour les rendre compatibles avec les environnements Java 6 et 7. Cela permet d'utiliser des fonctionnalités Java modernes dans des projets qui doivent maintenir une rétrocompatibilité avec d'anciens niveaux d'API et des appareils Android obsolètes.

L'outil s'intègre au processus d'automatisation de build Gradle, en appliquant des transformations post-compilation pour modifier la sortie binaire. Il utilise le désucrage au niveau du bytecode pour convertir les expressions lambda en classes internes anonymes et génère des ponts d'exécution compatibles.

Features

  • Bytecode Desugaring - Transforms modern lambda expression instructions into compatible anonymous inner class bytecode for older Java runtime environments.
  • Build Lifecycle Hooks - Hooks into the standard Java compilation lifecycle to modify class files immediately after the compiler finishes.
  • Bytecode Transformers - Gradle plugin that converts Java lambda expressions into bytecode compatible with Java 6 and 7 environments.
  • Android Bytecode Compatibility Tools - Gradle extension that ensures modern Java source code runs on older Android devices by transforming lambda expressions.
  • Legacy Runtime Compatibility - Enables use of modern Java syntax in Android applications that must maintain compatibility with older API levels.
  • Bytecode Manipulation Libraries - Uses a low-level bytecode library to parse and rewrite Java class files without requiring original source code.
  • Cross-Version JVM Compilation - Allows writing code using modern Java features while targeting older versions of the Java Virtual Machine.
  • Legacy Application Support - Adds modern lambda expressions to projects running on Java 6 or Java 7 without upgrading the entire runtime environment.
  • Language Feature Backporting - Transforms modern lambda expressions into bytecode compatible with older Java runtime environments during compilation.
  • Gradle Build Systems - Integrates bytecode transformation into a Gradle build process to ensure Java lambdas work on older virtual machines.
  • Java Environments - Enables modern functional programming syntax in legacy Java and Android runtime environments.
  • Legacy Runtime Compatibility - Creates synthetic classes and methods that allow newer language features to execute on legacy virtual machines.
  • Post-Compilation Transformations - Modifies the compiled binary output instead of altering the source code or the compiler frontend.
  • Advanced Development Frameworks - Gradle plugin for Java lambda support on older Android.
  • Development Productivity Tools - Enables modern language features on older runtime environments.

Historique des stars

Graphique de l'historique des stars pour evant/gradle-retrolambdaGraphique de l'historique des stars pour evant/gradle-retrolambda

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Questions fréquentes

Que fait evant/gradle-retrolambda ?

gradle-retrolambda est un plugin Gradle et un transformateur de bytecode conçu pour permettre l'utilisation des expressions lambda Java modernes dans les environnements d'exécution Java et Android hérités. Il fonctionne comme un outil de backporting qui garantit que la syntaxe de programmation fonctionnelle moderne reste compatible avec les anciennes machines virtuelles.

Quelles sont les fonctionnalités principales de evant/gradle-retrolambda ?

Les fonctionnalités principales de evant/gradle-retrolambda sont : Bytecode Desugaring, Build Lifecycle Hooks, Bytecode Transformers, Android Bytecode Compatibility Tools, Legacy Runtime Compatibility, Bytecode Manipulation Libraries, Cross-Version JVM Compilation, Legacy Application Support.

Quelles sont les alternatives open-source à evant/gradle-retrolambda ?

Les alternatives open-source à evant/gradle-retrolambda incluent : cglib/cglib — cglib is a suite of tools for JVM bytecode generation, class transformation, and dynamic proxying. It provides a… mcxiaoke/packer-ng-plugin — This project is an Android Gradle build plugin designed to automate the creation of multiple channel-specific… jboss-javassist/javassist — Javassist is a bytecode engineering toolkit for analyzing, modifying, and generating Java bytecode and class files. It… symfony/polyfill-php72 — This project is a PHP compatibility polyfill designed to backport core functions and constants from PHP 7.2 to older… gradle/kotlin-dsl-samples — This repository provides a collection of example configurations demonstrating how to define project build logic and… jetbrains/intellij-platform-plugin-template — This project is a standardized project scaffolding and build automation system for developing IntelliJ IDE plugins. It…

Alternatives open source à Gradle Retrolambda

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Gradle Retrolambda.
  • cglib/cglibAvatar de cglib

    cglib/cglib

    4,896Voir sur GitHub↗

    cglib is a suite of tools for JVM bytecode generation, class transformation, and dynamic proxying. It provides a high-level API for creating and transforming Java bytecode at runtime to modify class behavior and a framework for intercepting method calls and field access. The project implements dynamic proxy generation to support aspect oriented programming and custom data access patterns. It also includes a serialization manager to implement serialization contracts by adding specific methods and controlling object replacement within proxy classes. The library covers bytecode manipulation and

    Java
    Voir sur GitHub↗4,896
  • mcxiaoke/packer-ng-pluginAvatar de mcxiaoke

    mcxiaoke/packer-ng-plugin

    4,797Voir sur GitHub↗

    This project is an Android Gradle build plugin designed to automate the creation of multiple channel-specific application packages from a single build process. It functions as an APK variant generator that injects unique distribution identifiers into application packages to track installation sources across different app stores. The tool manages the entire distribution lifecycle, from defining target channels via external configuration to generating the corresponding package variants. It uses template-based artifact naming with dynamic placeholders to organize output files and includes a syst

    Javaandroidapkgradle
    Voir sur GitHub↗4,797
  • jboss-javassist/javassistAvatar de jboss-javassist

    jboss-javassist/javassist

    4,230Voir sur GitHub↗

    Javassist is a bytecode engineering toolkit for analyzing, modifying, and generating Java bytecode and class files. It functions as a bytecode manipulation library that allows for the editing of class files through either direct bytecode access or high-level source code syntax. The project provides specialized tools for the programmatic creation of new Java classes and interfaces during runtime. It includes a dynamic proxy generator for intercepting method calls and a class loader interceptor that automatically modifies class definitions as they are loaded into the Java Virtual Machine. Addi

    Javajavajava-bytecode
    Voir sur GitHub↗4,230
  • symfony/polyfill-php72Avatar de symfony

    symfony/polyfill-php72

    4,742Voir sur GitHub↗

    This project is a PHP compatibility polyfill designed to backport core functions and constants from PHP 7.2 to older versions of the language. It serves as a PHP standard library extension and version backport, providing a compatibility layer that fills gaps in the PHP core to ensure consistent behavior across different environments. The library enables cross-version code portability by implementing missing standard library functions, allowing newer language features to run on legacy PHP environments. This ensures that applications can maintain a consistent interface and remain compatible wit

    compatibilitycomponentjavascript
    Voir sur GitHub↗4,742
  • Voir les 30 alternatives à Gradle Retrolambda→