Gradle incorrectly sets the Eclipse compiler compliance

Gradle incorrectly sets the compiler compliance to sourceCompatibility when generating the .settings/org.eclipse.jdt.core.prefs file. The compiler compliance should be set to the targetCompatibility or possibly it should have it’s own Gradle property.

The 3 values are only valid if source <= target <= compliance.

Thanks for pointing this out. Should be relatively easy to fix for the next release.