As a result of CORE-13343, the upgrade was not properly completed, and while enough to get rid of the unexpected warning messages during build tasks, should be completed in a proper way.
* Upgrade Gradle to 7.6.1 * Bump Corda Plugins version to 7.0.3