The first New York affiliate of the Edible Schoolyard program, developed by the restaurateur Alice Waters, will be built in Gravesend, Brooklyn, this summer.