GradientTape in the updated assignment

The Neural Style Transfer assignment uses GradientTape. Now, I was of the impression that GradientTape had been the tool of TensorFlow 1 and we are over with it since moved to TensorFlow 2. So, is GradientTape used here because it just remained or because here it is the right tool to use?

Gradient Tape is still supported and useful.