We are seeing this error in the build, this PR attempts to solve this error.
* What went wrong:
Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
> Could not resolve com.github.jk1:gradle-license-report:latest.release.
Required by:
project :
> No matching variant of com.github.jk1:gradle-license-report:2.2 was found. The consumer was configured to find an API of a library compatible with Java 8, preferably in the form of class files, preferably optimized for standard JVMs, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '7.6' but:
- Variant 'apiElements' capability com.github.jk1:gradle-license-report:2.2 declares an API of a library, packaged as a jar, and its dependencies declared externally:
We are seeing this error in the build, this PR attempts to solve this error.