gradle: New gradle build

The new gradle build uses a new gradle plugin for bnd: BndPlugin.