Hi,
When I change the groovy dependency from groovy
...
dependencies {
...
groovy "org.codehaus.groovy:groovy-all:${groovyVersion}"
...
to compile method (as per gradle recommendation) in build.gradle of the template project (or in general in my other project as well),
compile "org.codehaus.groovy:groovy-all:${groovyVersion}"
I get the following error. Any clue what should I do
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':gaelykPrecompileGroovlet'.
> taskdef class org.codehaus.groovy.ant.Groovyc cannot be found
using the classloader AntClassLoader[]
Any idea, of what causes that and how to fix it?