Added `generate` task to Gradle build script.
Merge pull request #1 from esycat/generate-task

Added `generate` task to Gradle build script.