Convert Stacks project to gradle