Gradle 2.10 Can't suppress java 1.8 compiler warnings

That error message can be supressed with -XDignore.symbol.file, but you cannot use that flag with Gradle’s default way of invoking the compiler, as far as I know.

The underlying issue is described in How to set -XDignore.symbol.file=true on some compiles in multi-project build - #13 by Peter_Niederwieser, but it doesn’t look like anything in Gradle has changed.

The only way that seems to work would be to use a forked javac to build the project, as described at: