Upgrade gradle to 1.0.0-rc1

Upgrade gradle to 1.0.0-rc1 and remove deprecated properties