Migrate to gradle stracture