The sale of the building to the Jewish Federation of Detroit was contingent on the city of Birmingham dropping a lawsuit.