Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No longer compatible with Java 8 #27

Open
ryanb93 opened this issue Mar 19, 2024 · 1 comment
Open

No longer compatible with Java 8 #27

ryanb93 opened this issue Mar 19, 2024 · 1 comment

Comments

@ryanb93
Copy link

ryanb93 commented Mar 19, 2024

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.

@ppalaga
Copy link
Contributor

ppalaga commented Mar 20, 2024

Yeah, it looks like we set Java 16 around here:

https://github.com/ec4j/editorconfig-gradle-plugin/pull/16/files#diff-c0dfa6bc7a8685217f70a860145fbdf416d449eaff052fa28352c5cec1a98c06R37-R47

I wonder whether Java 8 would work there too? A PR would be welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants