Eclipse Buildship: Eclipse Plug-ins for Gradle 3.1.0

Announcement: https://discuss.gradle.org/t/buildship-3-1-is-now-available

Update site: https://download.eclipse.org/buildship/updates/e411/releases/3.x/3.1.0.v20190501-0832

New And Noteworthy

Run tasks on synchronization

Since Gradle 5.4, projects can declare an arbitrary set of tasks in the eclipse.synchronizationTasks configuration. Once configured, Gradle will automatically execute those tasks every time the user synchronizes workspace with the build.

plugins {
id 'eclipse'
}

task foo {
doLast {
println 'foo'
}
}

eclipse {
synchronizationTasks foo
}

Run tasks on Eclipse build

Similarly to the feature above, tasks can be configured to execute every time the Eclipse auto-build is triggered:

plugins {
id 'eclipse'
}

task foo {
doLast {
println 'foo'
}
}

eclipse {
autoBuildTasks foo
}

 

Release Date
Release Type
Minor release
This release is part of Eclipse IDE 2019-06, Eclipse IDE 2019-09
Themes
Bugfixes
https://github.com/eclipse/buildship/issues?utf8=%E2%9C%93&q=milestone%3A%22Buildship+3.1%22+label%3A%22a%3Abug+%3Abeetle%3A%22+
Enhancements
https://github.com/eclipse/buildship/issues?utf8=%E2%9C%93&q=milestone%3A%22Buildship+3.1%22+label%3Aan%3Aenhancement+
New features
https://github.com/eclipse/buildship/issues?utf8=%E2%9C%93&q=milestone%3A%22Buildship+3.1%22+label%3A%22a%3Anew-feature%22+