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
Could not find method defaultDependencies() #107
Comments
I solved it, it was an old gradle version. Thanks anyway |
@fritzrichter Would be great if you could share some more insights. What version are you using? I am currently facing the same issue. What gradle version fixed it for you? My project is currently using Alright, curiously enough Google tells me there are more similar issues, and the solution can be found here. In a nutshell, use |
@miffels Please set |
@bmuschko I was following a guide describing how to package Grails apps as Docker images, and the author failed to mention this crucial bit. Please bear with me and other people coming from there not knowing this, and not immediately reading through the READMEs of all referenced software. You try it, assume it should work. You see the error, google for it, and find this issue as the top-ranked result. Then you find that somehow the version might be the problem, but no one bothers to mention which one you actually need. I only meant to help future Googlers. Best, |
@miffels OK, thanks for the link. I wasn't aware of this blog post. |
I am using gradle version 2.11 and I am getting this error. Does this plugin only fit between gradle >= 2.5 and gradle <= 2.6? or something like that. |
@st9x3st9 should work with 2.11. We are actually using it with 2.12 here and have not seen any issues. Have you tried other versions of gradle and found them to work? |
I was using an old gradlew file instead of just using gradle which was version 2.11 |
@st9x3st9 What version did the old gradlew use? |
Not sure how do I check that? Also how do I update the gradlew file to use the new version of 2.11? |
There should be a folder titled |
My build is showing the following error, I don't know where this error comes from.
The text was updated successfully, but these errors were encountered: