editorconfig-gradle-plugin icon indicating copy to clipboard operation
editorconfig-gradle-plugin copied to clipboard

No longer compatible with Java 8

Open ryanb93 opened this issue 11 months ago • 1 comments

I receive the following error when attempting to update to 0.1.0

      > No matching variant of org.ec4j.gradle:editorconfig-gradle-plugin:0.1.0 was found. The consumer was configured to find a library for use during runtime, compatible with Java 11, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '8.6' but:
          - Variant 'apiElements' capability org.ec4j.gradle:editorconfig-gradle-plugin:0.1.0 declares a library, packaged as a jar, and its dependencies declared externally:
              - Incompatible because this component declares a component for use during compile-time, compatible with Java 16 and the consumer needed a component for use during runtime, compatible with Java 11
              - Other compatible attribute:
                  - Doesn't say anything about org.gradle.plugin.api-version (required '8.6')

However documentation suggests it works with Java 8. I am in a position where I trying to migrate to Gradle 8, 0.0.3 is incompatible with it and 0.1.0 requires a Java version upgrade which is not currently possible.

ryanb93 avatar Mar 19 '24 12:03 ryanb93