I've have a Groovy project built with Gradle (1.8) in which some Java classes report the following compiler warning message:
warning: Unsafe is internal proprietary API and may be removed in a future release
import sun.misc.Unsafe;
Is there a way to suppress that error message? I've found some answers suggesting to use the javac compiler option -XDignore.symbol.file
but I'm unable to apply it in the Gradle build when using the Groovy plugin.
Any solution ?
Thanks