> Could not resolve all artifacts for configuration ':classpath'.
> Could not resolve io.github.alexeytereshchenko.guardian:plugin:1.2.0.
Required by:
project : > io.github.alexeytereshchenko.guardian:io.github.alexeytereshchenko.guardian.gradle.plugin:1.2.0
> No matching variant of io.github.alexeytereshchenko.guardian:plugin:1.2.0 was found. The consumer was configured to find a runtime of a library compatible with Java 11, packaged as a jar
, and its dependencies declared externally but:
- Variant 'apiElements' capability io.github.alexeytereshchenko.guardian:plugin:1.2.0 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 11
- Variant 'javadocElements' capability io.github.alexeytereshchenko.guardian:plugin:1.2.0 declares a runtime of a component, and its dependencies declared externally:
- Incompatible because this component declares documentation and the consumer needed a library
- Other compatible attributes:
- Doesn't say anything about its target Java version (required compatibility with Java 11)
- Doesn't say anything about its elements (required them packaged as a jar)
- Variant 'runtimeElements' capability io.github.alexeytereshchenko.guardian:plugin:1.2.0 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 11
- Variant 'sourcesElements' capability io.github.alexeytereshchenko.guardian:plugin:1.2.0 declares a runtime of a component, and its dependencies declared externally:
- Incompatible because this component declares documentation and the consumer needed a library
- Other compatible attributes:
- Doesn't say anything about its target Java version (required compatibility with Java 11)
- Doesn't say anything about its elements (required them packaged as a jar)
I'm aware that this is an older version of gradle, but it's required for a project at the moment.