Open ysb33r opened 9 years ago
Schalke,
I've not been able to reproduce this problem. I've tried with the barebones example above and with a fairly complicated test project, but no issues. Is there something unique about your project that might be coming into play (e.g. custom groovy library, forced version of job-dsl-core, etc)?
THere is a custom built 2.4, but I would not suppose that to be the issue. I'll retry it with 1.3.1.
I encountered the same issue some time ago, had to do with the groovy version being used (see http://jira.codehaus.org/browse/GROOVY-6900 ). The issue was usage in an older version of the JobDSL plugin of a method that is not compatible with newer groovy versions. This has been fixed in later versions of the plugin (>= 1.28 if I remember correctly).
Assuming that a build script contains something like
under Gradle 2.4 this will cause an exception similar to below
The exception is thrown from
javaposse
, but is it posssible that what the plugin is passing down could be different under Gradle 2.4?