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
}