A former bottling plant for Diageo is to be turned into a low carbon development.