Changed gradle files to be compatible with 1.0 RC4