added release task

The build task will depend on release task.

invoke gradle build