changed compile script for download and install gradle 1.2