Template project: changing 'groovy' dependency to 'compile'

231 views
Skip to first unread message

Kunal Dabir

unread,
Sep 15, 2013, 2:01:39 AM9/15/13
to gae...@googlegroups.com
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?

Vladimír Oraný

unread,
Sep 15, 2013, 3:06:54 AM9/15/13
to gae...@googlegroups.com
Hi,

gaelyk gradle plugin is using configuration.groovy to find Groovy ant task and the configuration is obviously empty.

I think the best solution is to drop the ant task and use Gradle's GroovyCompiler directly. I'll try to find out what has to be done.




2013/9/15 Kunal Dabir <kunal...@gmail.com>

--
--
You've received this message because you've subscribed to the Gaelyk Google Group.
To send an email to the group, please write to: gae...@googlegroups.com
To unsuscribe from this group: gaelyk+un...@googlegroups.com
To show more options: http://groups.google.fr/group/gaelyk?hl=en
 
---
You received this message because you are subscribed to the Google Groups "Gaelyk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gaelyk+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Vladimír Oraný

unread,
Sep 16, 2013, 4:27:03 AM9/16/13
to gae...@googlegroups.com
Please try latest gradle-gaelyk-plugin v0.5, everything should work there.


2013/9/15 Vladimír Oraný <vlad...@orany.cz>

Kunal Dabir

unread,
Sep 16, 2013, 11:44:51 PM9/16/13
to gae...@googlegroups.com
Yes, it's perfect now. Thanks for such a quick update.
Reply all
Reply to author
Forward
0 new messages