You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Incompatible because this component declares an API of a component compatible with Java 11 and the consumer needed a runtime of a component compatible with Java 8
#71
Closed
aya-salama1989 opened this issue
Jan 10, 2022
· 1 comment
Have anyone encountered such an issue, Is it a build Gradle 7.0.+ issue?!
* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all artifacts for configuration ':app:classpath'.
> Could not resolve com.xmartlabs:snapshot-publisher:2.4.0.
Required by:
project :app
> No matching variant of com.xmartlabs:snapshot-publisher:2.4.0 was found. The consumer was configured to find a runtime of a library compatible with Java 8, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '7.1.1' but:
- Variant 'apiElements' capability com.xmartlabs:snapshot-publisher:2.4.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 11 and the consumer needed a runtime of a component compatible with Java 8
- Other compatible attribute:
- Doesn't say anything about org.gradle.plugin.api-version (required '7.1.1')
- Variant 'runtimeElements' capability com.xmartlabs:snapshot-publisher:2.4.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 11 and the consumer needed a component compatible with Java 8
- Other compatible attribute:
- Doesn't say anything about org.gradle.plugin.api-version (required '7.1.1')
The text was updated successfully, but these errors were encountered:
Have anyone encountered such an issue, Is it a build Gradle 7.0.+ issue?!
The text was updated successfully, but these errors were encountered: