added gradle task for nightly builds
Merge pull request #843 from crate/h/nightly-task

added gradle task for nightly builds