Need to execute custome task while buildship import/refresh

The automatic task execution is yet to be implemented, although we have it as an open-source opportunity proposal.

There might be a workaround for you. I haven’t used it yet, but all the fixtures are available. First you’d have to set up a custom project builder executing the Gradle task as an external command. Then this builder could be defined in the project’s configuration. If you try this, please let me know the outcome.