Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type def recipe not found when migrating to android gradle plugin 3.0.0 with retrolambda 3.2.5. #257

Open
guliash opened this issue Aug 9, 2017 · 4 comments

Comments

@guliash
Copy link

guliash commented Aug 9, 2017

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!

@suomi35
Copy link

suomi35 commented Dec 7, 2017

@guliash Thank you very much for this!

@oliverhausler
Copy link

@guliash Very valuable help, this. Thanks!

@zhaopanlong
Copy link

thank you for you help

@JayneVong
Copy link

thank you bro, already fixed this problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants