Updated gradle files for API level