Eclipse Buildship: Eclipse Plug-ins for Gradle 2.2.0 Release Review

Type
Release
State
Successful
End Date of the Review Period

Reviews run for a minimum of one week. The outcome of the review is decided on this date. This is the last day to make comments or ask questions about this review.

Release

2.2.0

Description

New and Noteworthy

Runtime classpath separation

The previous releases did not define any separation for the Eclipse runtime classpath. This meant that when a user launched a Java application or executed a test via JDT then all dependencies from all configurations were available on the classpath. 

This release introduces runtime classpath separation based on the dependency scope information supplied by Gradle. If the project uses Gradle 4.4 or newer then all source directories and binary dependencies define which scope (main, test, integTest, etc.) they belong. Buildship then filters elements from the runtime classpath if the launched application is associated with a different scope.

Note, that Buildship still has to use Eclipse’s default flat classpath approach, so this feature can only filter unwanted dependencies based on the dependency scopes.

This feature is especially useful for the Spring Tool Suite users. In Spring Boot it is common practice to keep the application configuration in the main sources and override it with a similar one in the test sources. Before Buildship 2.2 when the main application was launched from the IDE, the test configuration was still picked up, making the IDE unusable in this use-case. With this new feature, launching a Spring Boot app from the command line and from Eclipse produces consistent results.

Syntax highlighting for Gradle script files

Gradle build files are now opened in a dedicated Gradle editor which provides basic syntax highlighting.

Automatic project synchronization

Eclipse can be configured to automatically execute Gradle project synchronization when a build script changes. The feature can be enabled in the import wizard or in the workspace and project preferences.

Streamlining task and executions view

To follow the platform recommendations, the expand and collapse actions on the view toolbars have been updated to work on the entire tree and not just on the selected elements. Moreover, double-clicking on non-leaf tree items expands-collapses the subtree.

Java 9 compatibility for Buildship plugins

Buildship now also works if the host Eclipse is running on Java 9. We updated the incompatible dependencies and added checks into our build infrastructure to verify that everything works with the latest Java release.

Fixed bugs

External contributions

We would like to thank the following community members for making contributions to this release.

API Certification

The project leadership certifies that the APIs in this release are "Eclipse Quality".

Security Issues

There are no security issues associated with this release.

Conforms To UI/UX Guidelines
Not verified
End of Life

Buildship will be developed and maintained in the foreseeable future. 

Communities

We have an active community on GitHub and on the Gradle forum.

This release is part of Eclipse Photon