gradle-retrolambda
gradle-retrolambda copied to clipboard
Type def recipe not found when migrating to android gradle plugin 3.0.0 with retrolambda 3.2.5.
Hi!
While migrating to new android gradle plugin I encountered a very strange error.
Type def recipe not found: /Users/guliash/Projects/MigrationRetrolambda/commons/build/intermediates/typedefs.txt
I'm using retrolambda 3.2.5, auto/value 1.2, auto-value-parcel 0.2.5. Because auto-value-parcel has compile dependency on auto/value I had to add (according to the guide):
javaCompileOptions {
annotationProcessorOptions {
includeCompileClasspath false
}
}
After that I got 'Type def recipe not found' error. Only after updating to retrolambda 3.7.0, the error had gone.
Project which reproduces the issue. Just run ./gradlew :commons:assembleDebug.
Sure it is somehow related to the new android gradle plugin and old retrolambda. Just wanted to make it easier to find the solution for someone who is migrating to 3.0.0 (because I could not find it myself after spending a lot of time).
Thank you!
@guliash Thank you very much for this!
@guliash Very valuable help, this. Thanks!
thank you for you help
thank you bro, already fixed this problem!