Updated gradle scripts.
Merge branch 'master' into release