Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

Build failure due to variant mismatch on Android Java 11 project? #4

Closed
jrodbx opened this issue Nov 10, 2020 · 0 comments · Fixed by #5
Closed

Build failure due to variant mismatch on Android Java 11 project? #4

jrodbx opened this issue Nov 10, 2020 · 0 comments · Fixed by #5

Comments

@jrodbx
Copy link
Contributor

jrodbx commented Nov 10, 2020

A problem occurred configuring root project 'cash'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not resolve app.cash.exhaustive:exhaustive-gradle:0.1.0.
     Required by:
         project :
      > No matching variant of app.cash.exhaustive:exhaustive-gradle:0.1.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 app.cash.exhaustive:exhaustive-gradle:0.1.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 14 and the consumer needed a runtime of a component compatible with Java 11
          - Variant 'runtimeElements' capability app.cash.exhaustive:exhaustive-gradle:0.1.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 14 and the consumer needed a component compatible with Java 11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant