Fix Gradle deprecation warning.

1 job for extend-ci-setup in 12 seconds
Status Job ID Name Coverage
  Test
passed #40238
build

00:00:12