Reputation: 6659
I am using the Gradle Retrolambda Plugin in my Android library. The integration works well.
The Android Gradle Plugin, however, is annoying me. It announces that it can support Java 8 features, via de-sugaring. It suggests that I stop using Retrolambda:
WARNING: One of the plugins you are using supports Java 8 language features. To try the support built into the Android plugin, remove the following from your build.gradle: apply plugin: 'me.tatarka.retrolambda' To learn more, go to https://d.android.com/r/tools/java-8-support-message.html
For technical reasons, I have decided not to follow this suggestion. Retrolambda generates version 50 class files, while the AGP generates version 52 classfiles. The version 50 class files are compatible with a broader spread of consumers.
As per Google issue 147311698, I would like to permanently suppress this warning message, so that it doesn't clutter my build output. Is there some configuration / Groovy code I can use to target and suppress this specific message?
Upvotes: 2
Views: 139