apply gradle and file structure