fix build gradle compile api