evant / gradle-retrolambda

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

Run retrolamba in process #221

Open evant opened 7 years ago

evant commented 7 years ago

Should be able to invoke retrolamba directly instead of running it in a separate processes passing command line args. This can improve performance and possibly simplify implementation. It should start out disabled by default behind a flag such as

retrolambda {
  runInProcess true
}

to help iron out any issues.

Ideally we'd want to keep allowing the user to specify what version of retrolamba is used, but the mechanism might have to change.