Supergravity as the messenger of supersymmetry breaking