Added release task, and better Gradle setup.