Migrated scripts to new Android gradle plugin tools.