Gradle incorrectly sets the Eclipse compiler compliance

(nathan.niesen) #1

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.

(Radim Kubacki) #2

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