-
Notifications
You must be signed in to change notification settings - Fork 5
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
Allow to set groovyc target version #32
Comments
I think the problem could be renamed to Groovy precompilation task do use the Gradle target and source Java versions because I suppose that's the real problem |
@bmuschko could you have look on this issue? it's probably causing some nasty bugs w/ 1.7 |
We should probably automatically reuse the values of the properties |
yeah, would be nice, |
OK, sounds good. I will put in a fix tonight. |
great, thx! |
Currently I can not set target or source attribute on ant.groovyc task - gaelykPrecompileGroovlet, gaelykPrecompileTemplate.
And when I run gaeRun task with --debug switch I see "Annotations are not supported in the current runtime. Please make sure you are running on a JVM >= 1.5" on command output.
It is just in case "-Dgroovy.target.bytecode=1.6" switch is used. I used that switch because I am looking for fixing of following bug:
Application with groovy sources placed in src/main/groovy works correctly. When I place same groovy sources to src/main/webapp/WEB-INF/groovy I got: "The class XYZ refers to the class XYZ and uses 1 parameters, but the referred class takes no parameters". And mentioned switch "groovy.target.bytecode" I used to set target jdk version of "hot-deploy"/rad Groovy Script recompiller.
The text was updated successfully, but these errors were encountered: