convert to gradle system