ZacSweers/redacted-compiler-plugin

0.8.2 targets Java 17

sureshg opened this issue · 1 comments

This is nothing specific to GraalVM, seems like some issue with variant selection because you bumped up the java version to 17

> Could not resolve all files for configuration ':classpath'.
   > Could not resolve dev.zacsweers.redacted:redacted-compiler-plugin-gradle:0.8.2.
     Required by:
         project : > dev.zacsweers.redacted:dev.zacsweers.redacted.gradle.plugin:0.8.2
      > No matching variant of dev.zacsweers.redacted:redacted-compiler-plugin-gradle:0.8.2 was found. The consumer was configured to find a runtime of a library compatible with Java 16, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '7.3-rc-1' but:
          - Variant 'apiElements' capability dev.zacsweers.redacted:redacted-compiler-plugin-gradle:0.8.2 declares a library, packaged as a jar, and its dependencies declared externally:
              - Incompatible because this component declares an API of a component compatible with Java 17 and the consumer needed a runtime of a component compatible with Java 16
              - Other compatible attribute:
                  - Doesn't say anything about org.gradle.plugin.api-version (required '7.3-rc-1')
          - Variant 'runtimeElements' capability dev.zacsweers.redacted:redacted-compiler-plugin-gradle:0.8.2 declares a runtime of a library, packaged as a jar, and its dependencies declared externally:
              - Incompatible because this component declares a component compatible with Java 17 and the consumer needed a component compatible with Java 16
              - Other compatible attribute:
                  - Doesn't say anything about org.gradle.plugin.api-version (required '7.3-rc-1')

Renamed it to be accurate, will fix