Buildship 1.0.9 is now available. It brings support for Java compiler compliance settings and a new ‘clean import’ feature.
Buildship 1.0.9 is based on Gradle 2.11 which brings many enhancements itself.
Java compiler compliance settings
Buildship now reads the Java compiler compliance settings:
apply plugin: 'java' sourceCompatibility = '1.6' targetCompatibility = '1.7'
And configures the following JDT settings accordingly:
- Compiler compliance level
- Source compatibility
- .class files compatibility
- JRE on the classpath
Note that this feature is only supported for projects using target Gradle version 2.11 or higher.
When importing a Gradle project into Eclipse, Buildship will now offer to overwrite existing
.classpath files, so that the configuration matches exactly what is specified in the Gradle build.