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

Provide option to remove "-javaagent" argument passing to retrolambda #268

Open bumfo opened 6 years ago

bumfo commented 6 years ago

retrolambda has problem running on Java 9/10 when -javaagent argument is provided.

however, it seems that there's no interface to prevent gradle-retrolambda from sending such argument.

evant commented 6 years ago

It shouldn't be passing -javaagent if you are using retrolamda 1.6.0+. What's your setup?