Migrate to gradle + AS