-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Gradle plugin does not support Gradle 6.0 #1002
Comments
The sources for |
i have the same problem. |
hit the same issue |
Thanks for reporting! This is due to the Gradle plugin not supporting the new Tasks API. This was fixed internally, but there was no time for a release, yet. TL;DR: the greenDAO Gradle plugin currently does not support Gradle 6.x. |
Update: I jumped to conclusions here before properly reading the stack trace. I can not verify this using a minimal example project. https://github.com/greenrobot-team/greenrobot-examples/tree/master/greendao The Does anyone have a minimal project that reproduces this issue? Also on an unrelated note: the Android Gradle Plugin does not yet support Gradle 6.0. |
Oh my, sorry again: I tested using the latest development version of the plugin. The released version So this is fixed in the internal version. |
@greenrobot-team Any new Android project created with Android Studio 4.0 Canary should show the problem. The new version of Android Gradle plugin that the new AS requires supports Gradle 6, hence the problem. https://developer.android.com/studio/preview Will try to publish a sample project to replicate the issue. |
@dandar3 No need, I made a mistake and CAN actually reproduce this. It's fixed already internally, as stated originally. |
When will the fixed version be released? After I updated my project to gradle 6.0, everything works fine except greendao. I think more and more developers would encounter the same problem. |
We are also blocked by the lack of support of gradle 6.x. Any idea when you'll be able to release the fixed version of GreenDao Gradle plugin? |
@greenrobot-team Could you please publicly release version v3.3.0 listed on your website? https://greenrobot.org/greendao/changelog/ |
@greenrobot-team |
@greenrobot-team |
@greenrobot-team Chiming in here. Android Gradle Plugin 4.0 requires Gradle 6.0 so any app that uses GreenDAO will be blocked from upgrading AGP without the 3.3.0 release. |
Looks like 3.3.0 is available now.
Edit: After deleting all the gradle cache several times it's finally working. Sorry for the false alarm. 😄 |
Shame, it took a bit too long for me, after waiting for 3 months I finally managed to spent a little time and move on to using Room instead. Thank you @greenrobot-team for everything all this time! 🏆:clap: |
As @G00fY2 noticed, we had finally some time to do the |
@G00fY2 How did you get this to work ? I just updated and I'm still getting
even after deleting my cache directory... |
YES - indeed that was what I missed. Thank you so much for keeping this project alive - its an absolutely amazing library and I wouldn't know what to do without it :) |
Upgrading to the new greendao 3.3.0 release worked for me in both of my gradle files! |
The text was updated successfully, but these errors were encountered: