-
Notifications
You must be signed in to change notification settings - Fork 183
Could not find method groovy() for arguments [org.codehaus.groovy:groovy-all:1.8.8] on root project #68
Comments
More output with |
I seem to get past that error by using Gradle 1.12 instead of 2.0 |
Solution: use Gradle 1.x :-) |
I had the same problem as you using Gradle 2.1 and went back to Gradle 1.8. After doing so Gradle informed me this was unnecessary: "The groovy configuration has been deprecated and is scheduled to be removed in Gradle 2.0. Typically, usages of 'groovy' can simply be replaced with 'compile'. In some cases, it may be necessary to additionally configure the 'groovyClasspath' property of GroovyCompile and Groovydoc tasks." I upgraded to Gradle 2.2, and running Gradle tasks were successful after changing 'groovy' dependency configs to 'compile'. I tried with both the wrapper and the native install of gradle. Presumably Gradle 2.1 would have also worked; I stayed with 2.2 since I already put forth the effort of installing it (originally in the hopes that 2.1 -> 2.2 was the solution.) |
@tinyrye groovy 'org.codehaus.groovy:groovy:2.2.1' Why do we require this. This is breaking build with gradle 2.2.1 version. What is the use of it and alternative of it. Please point me to the link where i can study this. |
I know this is a little bit old but getting same error using Gradle 2.3 or 2.7, is this issue has ever been address? any solution? Thanks |
+1 |
It's a legacy declaration for using groovy in earlier Gradle 1.x versions. That's why it's good practice to include the gradle wrapper in gradle projects, and hence why it's suggested to use |
And clean up other dependencies. Fixes #68 for those not using ancient versions of gradle and not using the gradle wrapper.
And clean up other dependencies. Fixes entagen#68 for those not using ancient versions of gradle and not using the gradle wrapper.
Followed your guide here but got this exception:
This is using:
Any ideas?
The text was updated successfully, but these errors were encountered: