General solution of the Wess-Zumino consistency condition for Einstein gravity.