Details
-
Type:
Improvement
-
Status:
Reopened
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Build System
-
Labels:
Description
I'm using 1.4M1+GAE+GORM-JPA,
I got some problem of GORM-JPA plugin where it use some deprecated methods,
Grails can't compile it,and ask me to compile with arg -Xlint:unchecked,
But I can't find anywhere to add this arg.
so plz add some config to BuildConfig.groovy or _Event.groovy to provide this feature.
and more,better if compile arg is only add to some plugin.
Closing as "won't fix" as you can use any JVM option with Grails. The commands will use JVM options provided via the command line. You can also specify a specific environment variable too, GRAILS_OPTS, if you don't want to specify them on the command line.
So, for your specific example, you should be able to just use this: grails compile -Xlint:unchecked
Thanks,
Bobby