Upgrade gradle to 1.10
Update to the current derby version
Use the gradle release plugin to manage the versioning