Gradle: Replace deprecated plugin names.