Retrolambda plugin 3.3.0 doesn't strip calls to addSuppressed when using try-with-resources
See original GitHub issuelint produces a warning about this issue (and I’ve checked generated files as well - 3.2.5 ok, 3.3.0 broken)
classpath 'com.android.tools.build:gradle:2.2.0'
classpath 'me.tatarka:gradle-retrolambda:3.3.0'
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
minSdkVersion 15
3.2.5 with retrolamda 2.3.0 works ok, too
Issue Analytics
- State:
- Created 7 years ago
- Comments:21 (2 by maintainers)
Top Results From Across the Web
Retrolambda Plugin Throws Error · Issue #14 - GitHub
It looks like the Retrolambda plugin doesn't work with any libraries that compile with Java 8, which is why you're running into the...
Read more >Retrolambda 3.3 in Android Studio 2.1.3: error configuring ...
Error:A problem occurred configuring project ':app'. I use Facebook and Twitter (fabric) dependencies. I removed apply plugin: 'me.tatarka.
Read more >Eva Tatarka android-retrolambda-lombok Issues - Giters
Eva Tatarka android-retrolambda-lombok: A modified version of lombok ast that ... Retrolambda plugin 3.3.0 doesn't strip calls to addSuppressed when using ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@benj56 try placing lint.xml in the same folder as build.gradle.
@zergtmn I get 2 lint warnings with clean lint.xml - for both try with resources and addSuppressed. Try updating your build tools.