How can I trigger an export to a selfexecutable jar with gradle?
Run ./gradlew export. If the Build was successfull you will find the the result in generated/distribution/<yourBndrunFileName>.export directory. Note, that the bndrun must reside in a bnd project with a bnd.bnd in it. For more FAQ see: The Gecko Documentation Project