evant / gradle-retrolambda

A gradle plugin for getting java lambda support in java 6, 7 and android
Apache License 2.0
5.3k stars 447 forks source link

The classes in the dependencies aar seems not to be converted #283

Open xulianbin opened 3 years ago

xulianbin commented 3 years ago

My project has some of the dependencies which also contains the lambda statement. When I applied this plugin, it was found the lambda code in the project is converted , but the code in the library seems not. Is there any configuration to set so the plugin can change the byte code of the aar/jar files?

evant commented 3 years ago

Correct, it only applies to your project, not it's dependencies. You could try using Android's built-in desugaring which does.