/usr/share/gradle/lib/plugins/gradle-code-quality-3.4.1.jar is in libgradle-plugins-java 3.4.1-7ubuntu1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/share/gradle/lib/plugins/../../../java/gradle-code-quality-3.4.1.jar