openrewrite / rewrite-build-gradle-plugin

Common build logic for building OpenRewrite and recipe jars.
Apache License 2.0
4 stars 5 forks source link

Attempt to fix CI build error #14

Closed kunli2 closed 1 year ago

kunli2 commented 1 year ago

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:
kunli2 commented 1 year ago

closing out since this change doesn't work for the repos that use the plug-in.