Kiddie Tax

If I fund a grandchild's UGMA can they file as independent to avoid kiddie taxes? Or does unearned kiddie tax apply to anybody under 18 automatically?